deno.land / std@0.224.0 / log / _test_handler.ts

_test_handler.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { BaseHandler } from "./base_handler.ts";
export class TestHandler extends BaseHandler { public messages: string[] = [];
override log(msg: string) { this.messages.push(msg); }}
std

Version Info

Tagged at
6 months ago