Skip to main content
Module

x/tiny_logger/mod.ts>TinyLogger

Logs to console and writes to a csv file
Go to Latest
class TinyLogger
import { TinyLogger } from "https://deno.land/x/tiny_logger@v1.0.1/mod.ts";

Constructors

new
TinyLogger(options: LogOptions)

Methods

private
init()
private
logToConsole(
level: LogLevels,
source: string,
message: string,
)
private
writeFile(data: string)
debug(source: string, message: string)
error(source: string, message: string)
info(source: string, message: string)
warn(source: string, message: string)