std/log/_state.ts
David Sherret ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00

12 lines
355 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import type { BaseHandler } from "./base_handler.ts";
import { DEFAULT_CONFIG } from "./_config.ts";
import type { Logger } from "./logger.ts";
export const state = {
handlers: new Map<string, BaseHandler>(),
loggers: new Map<string, Logger>(),
config: DEFAULT_CONFIG,
};