new module:ct-core /log /Log Record(time, level, log Data, id)
A LogRecord is used for storing log messages when the expense of rendering them to a string should be postponed until later.
Parameters:
Name | Type | Description |
---|---|---|
time |
Number | the time this message was logged, in milliseconds since the epoc. |
level |
String | the level it was logged at, equivalent to the method call on a |
logData |
Array | all the data that should be logged. |
id |
id | a unique identifier for this log record. |
Methods
to String() → {String}
Renders a LogRecord to a string.
Returns:
a string representation of this LogRecord. Will not be null.
- Type
- String