Skip to main content

Class: BoundLogger

core/log.BoundLogger

A BoundLogger binds a LogImplementation to a specific render of an Element.

Implements

Constructors

constructor

new BoundLogger(impl, renderId, element)

Parameters

NameType
implLogImplementation
renderIdstring
elementElement<any>

Defined in

packages/ai-jsx/src/core/log.ts:161

Methods

debug

debug(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.debug

Defined in

packages/ai-jsx/src/core/log.ts:171


error

error(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.error

Defined in

packages/ai-jsx/src/core/log.ts:168


fatal

fatal(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.fatal

Defined in

packages/ai-jsx/src/core/log.ts:167


info

info(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.info

Defined in

packages/ai-jsx/src/core/log.ts:170


trace

trace(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.trace

Defined in

packages/ai-jsx/src/core/log.ts:172


warn

warn(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.warn

Defined in

packages/ai-jsx/src/core/log.ts:169