std/log/_test_handler.ts
Madhav Ganesan ab458a38fa
refactor(archive,expect,io,log,toml,yaml): remove private and public access modifiers (#5077)
* replaced public and private access modifiers #5066

* fix: run `deno fmt`

* fix: apply suggestions

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-21 14:13:08 +10:00

11 lines
265 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { BaseHandler } from "./base_handler.ts";
export class TestHandler extends BaseHandler {
messages: string[] = [];
override log(msg: string) {
this.messages.push(msg);
}
}