Skip to main content

HotLog

hotstaq / Modules / HotLog

Class: HotLog

The logger.

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new HotLog(logLevel?)

Parameters​

NameTypeDefault value
logLevelHotLogLevelHotLogLevel.All

Defined in​

HotLog.ts:42

Properties​

logLevel​

• logLevel: HotLogLevel

The logging level.

Defined in​

HotLog.ts:40

Methods​

error​

â–¸ error(message): void

Log an error message.

Parameters​

NameType
messagestring | Error

Returns​

void

Defined in​

HotLog.ts:136


info​

â–¸ info(message): void

Log a message.

Parameters​

NameType
messagestring

Returns​

void

Defined in​

HotLog.ts:110


log​

â–¸ log(level, message): void

Log a message.

Parameters​

NameType
levelHotLogLevel
messagestring

Returns​

void

Defined in​

HotLog.ts:50


verbose​

â–¸ verbose(message): void

Log a verbose message.

Parameters​

NameType
messagestring

Returns​

void

Defined in​

HotLog.ts:101


warning​

â–¸ warning(message): void

Log a warning.

Parameters​

NameType
messagestring

Returns​

void

Defined in​

HotLog.ts:123