Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Logger

import type { Logger } from "https://raw.githubusercontent.com/Yamboy1/deno-structured-logging/master/mod.ts";

THe main logger class

interface Logger {
critical: LogFunction;
debug: LogFunction;
error: LogFunction;
addSink(sinkFunc: SinkFunction, outputFormat?: string): this;
}

§Properties

§Methods

§
addSink(sinkFunc: SinkFunction, outputFormat?: string): this
[src]

Add a sink