Class: CLogRecord

codemelted.CLogRecord(level, data)

Wraps the handled logged event for later processing.

Constructor

new CLogRecord(level, data)

Constructor for the class
Parameters:
Name Type Description
level number The level of the logged event.
data any The data associated with it.
Source:

Members

(readonly) data :any

The data associated with the event.
Type:
  • any
Source:

level :number

The log level of the event.
Type:
  • number
Source:

(readonly, nullable) stackTrace :string

A stack trace associated with the data.
Type:
  • string
Source:

time :Date

The time of the event.
Type:
  • Date
Source:

Methods

toString() → {string}

Formatted log record
Source:
Returns:
Type
string