Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

Types logging

@algorandfoundation/algokit-utils / types/logging

Module: types/logging

Table of contents

Type Aliases

Variables

Type Aliases

Logger

Ƭ Logger: Object

General purpose logger type, compatible with Winston and others.

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

src/types/logging.ts:5

Variables

consoleLogger

Const consoleLogger: Logger

A logger implementation that writes to console

Defined in

src/types/logging.ts:14


nullLogger

Const nullLogger: Logger

A logger implementation that does nothing

Defined in

src/types/logging.ts:23