consoleSink
import { consoleSink } from "https://raw.githubusercontent.com/Yamboy1/deno-structured-logging/0.4.2/mod.ts";
A console sink (with colors)
function consoleSink({ enableColors, colorOptions: { debug, info, warn, error, critical }? }?: Partial<ConsoleOptions>): SinkFunction;
§
consoleSink({ enableColors, colorOptions: { debug, info, warn, error, critical }? }?: Partial<ConsoleOptions>): SinkFunction
[src]§Parameters
§
{ enableColors, colorOptions: { debug, info, warn, error, critical }? }?: Partial<ConsoleOptions> optional
[src]