Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/log/mod.ts>Logger

A frequently used log configuration. Adding Date Time. Adding warnings and errors to file. Infos are green.
Latest
class Logger
import { Logger } from "https://deno.land/x/log@v1.1.1/mod.ts";

Static Properties

private
instance: any

Static Methods

private
prepareLogger(
minLevelForConsole: string,
minLevelForFile: string,
fileName: string,
pureInfo?: boolean,
): Promise<any>
getInstance(
minLevelForConsole?,
minLevelForFile?,
fileName?,
pureInfo?: boolean,
)