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

SinkFunction

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

A sink is like an output, sometimes known as a handler

type SinkFunction = (logEntry: LogEntry) => void;

§Type

§
(logEntry: LogEntry) => void
[src]