Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/log/_config.ts

Deno standard library
Go to Latest
File
// 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"], }, },};