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

consoleSink

import { consoleSink } from "https://raw.githubusercontent.com/Yamboy1/deno-structured-logging/master/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]