Loading...
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

ai-jsx/src/core/log.ts:184

Methods

debug

debug(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.debug

Defined in

ai-jsx/src/core/log.ts:194


error

error(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.error

Defined in

ai-jsx/src/core/log.ts:191


fatal

fatal(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.fatal

Defined in

ai-jsx/src/core/log.ts:190


info

info(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.info

Defined in

ai-jsx/src/core/log.ts:193


setAttribute

setAttribute(key, value): void

Parameters

NameType
keystring
valuestring

Returns

void

Implementation of

Logger.setAttribute

Defined in

ai-jsx/src/core/log.ts:196


trace

trace(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.trace

Defined in

ai-jsx/src/core/log.ts:195


warn

warn(obj, msg?): void

Parameters

NameType
objstring | object
msg?string

Returns

void

Implementation of

Logger.warn

Defined in

ai-jsx/src/core/log.ts:192