Skip to main content
Module

x/statsd/mod.ts>Logger

A simple StatsD client for Deno
Latest
type alias Logger
import { type Logger } from "https://deno.land/x/statsd@0.5.0/mod.ts";

Logger defines a logging type that can be injected into the library to enable logging. The API defined is a subset of the std logger's API, and should be compatible with it.

definition: { debug: (msg: string) => unknown; info: (msg: string) => unknown; warning: (msg: string) => unknown; error: (msg: string) => unknown; }