HotLog
Class: HotLog
The logger.
Table of contents​
Constructors​
Properties​
Methods​
Constructors​
constructor​
• new HotLog(logLevel?
)
Parameters​
Name | Type | Default value |
---|---|---|
logLevel | HotLogLevel | HotLogLevel.All |
Defined in​
Properties​
logLevel​
• logLevel: HotLogLevel
The logging level.
Defined in​
Methods​
error​
â–¸ error(message
): void
Log an error message.
Parameters​
Name | Type |
---|---|
message | string | Error |
Returns​
void
Defined in​
info​
â–¸ info(message
): void
Log a message.
Parameters​
Name | Type |
---|---|
message | string |
Returns​
void
Defined in​
log​
â–¸ log(level
, message
): void
Log a message.
Parameters​
Name | Type |
---|---|
level | HotLogLevel |
message | string |
Returns​
void
Defined in​
verbose​
â–¸ verbose(message
): void
Log a verbose message.
Parameters​
Name | Type |
---|---|
message | string |
Returns​
void
Defined in​
warning​
â–¸ warning(message
): void
Log a warning.
Parameters​
Name | Type |
---|---|
message | string |
Returns​
void