Constructor
new LogRecord(level, …message)
Initializes a new log record.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
level |
Level | The level of the log record. |
|
message |
* |
<repeatable> |
The message to log. |
Members
date :Date
The timestamp when the log record was created.
Type:
- Date
level :Level
The log level.
Type:
- Level
loggerName :string|null
The name of the logger.
Type:
- string | null
message :Array
The log message.
Type:
- Array
(readonly) millis :number
Returns the timestamp of the log record in milliseconds.
Type:
- number
sequenceNumber :number
The sequence number of the log record.
Type:
- number