Skip to main content
Module

std/log/handlers.ts>BaseHandler

Deno standard library
Go to Latest
class BaseHandler
import { BaseHandler } from "https://deno.land/std@0.124.0/log/handlers.ts";

Constructors

new
BaseHandler(levelName: LevelName, options?: HandlerOptions)

Properties

formatter: string | FormatterFunction
level: number
levelName: LevelName

Methods

format(logRecord: LogRecord): string
handle(logRecord: LogRecord): void
log(_msg: string): void