Classes
Overview
Members-Overview
|
:String |
|
:timapi.LogRecord.LogLevel |
|
:Number |
|
:String |
|
:String |
|
:Array.<String> |
|
:Array.<timapi.LogRecordTrace> |
|
:String |
|
:Date |
Methods-Overview
- matchesLevel(requiredLogLevel) → {boolean}
- toString()
Member-List
Methods
matchesLevel(requiredLogLevel) → {boolean}
Checks if a log level of record matches required log level. Used to filter log records.
Returns true if the record level is the same as requiredLogLevel or record level is
listed above requiredLogLevel in the enumeration.
Parameters:
Name | Type | Description |
---|---|---|
requiredLogLevel |
timapi.LogRecord.LogLevel | Loglevel that is required. |
Returns:
True if record level matches required log level.
Type: boolean
toString()
Format record for output in debug logs. The default onTimApiPublishLogRecord
uses this method to format the log record before sending it to timapi.log().