types/logging
@algorandfoundation/algokit-utils / types/logging
Table of contents
Section titled “Table of contents”Type Aliases
Section titled “Type Aliases”Variables
Section titled “Variables”Type Aliases
Section titled “Type Aliases”Logger
Section titled “Logger”Ƭ Logger: Object
General purpose logger type, compatible with Winston and others.
Type declaration
Section titled “Type declaration”| Name | Type |
|---|---|
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 |
Defined in
Section titled “Defined in”Variables
Section titled “Variables”consoleLogger
Section titled “consoleLogger”• Const consoleLogger: Logger
A logger implementation that writes to console
Defined in
Section titled “Defined in”infoConsoleLogger
Section titled “infoConsoleLogger”• Const infoConsoleLogger: Logger
Defined in
Section titled “Defined in”nullLogger
Section titled “nullLogger”• Const nullLogger: Logger
A logger implementation that does nothing
Defined in
Section titled “Defined in”verboseConsoleLogger
Section titled “verboseConsoleLogger”• Const verboseConsoleLogger: Logger
Defined in
Section titled “Defined in”warningConsoleLogger
Section titled “warningConsoleLogger”• Const warningConsoleLogger: Logger