mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
ef6b95f0c7
* Start * Update * Format * Revert deno.json change --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
20 lines
427 B
TypeScript
20 lines
427 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import { ConsoleHandler } from "./console_handler.ts";
|
|
import type { LogConfig } from "./logger.ts";
|
|
|
|
export const DEFAULT_LEVEL = "INFO";
|
|
|
|
export const DEFAULT_CONFIG: LogConfig = {
|
|
handlers: {
|
|
default: new ConsoleHandler(DEFAULT_LEVEL),
|
|
},
|
|
|
|
loggers: {
|
|
default: {
|
|
level: DEFAULT_LEVEL,
|
|
handlers: ["default"],
|
|
},
|
|
},
|
|
};
|