Skip to content

types/logging

@algorandfoundation/algokit-utils / types/logging

Ƭ Logger: Object

General purpose logger type, compatible with Winston and others.

NameType
debug(message: string, …optionalParams: unknown[]) => void
error(message: string, …optionalParams: unknown[]) => void
info(message: string, …optionalParams: unknown[]) => void
verbose(message: string, …optionalParams: unknown[]) => void
warn(message: string, …optionalParams: unknown[]) => void

src/types/logging.ts:5

Const consoleLogger: Logger

A logger implementation that writes to console

src/types/logging.ts:14


Const infoConsoleLogger: Logger

src/types/logging.ts:22


Const nullLogger: Logger

A logger implementation that does nothing

src/types/logging.ts:47


Const verboseConsoleLogger: Logger

src/types/logging.ts:30


Const warningConsoleLogger: Logger

src/types/logging.ts:38