import { TinyLogger } from "https://deno.land/x/tiny_logger@v1.0.8/mod.ts";
Constructors
new
TinyLogger(options?: LogOptions)Methods
private
init()private
logToConsole(level: LogLevels,
source: string,
message: string,
private
openFile()private
save(x: any)private
writeFile(data: string, callback: Function)debug(source: string, message: string)
enableFileLogging(path?: string)
error(source: string, message: string)
info(source: string, message: string)
warn(source: string, message: string)