LogMessage

Data object used to store captured log messages.

Description

The LogMessage class allows you to create data objects used to store captured log messages.

Important points

Fields

time

Time the message was generated

time: DateTime?

level

Log level

level: String?

source

Source (context name)

source: String?

trace_id

Transaction id used to trace execution through a call chain.

trace_id: String?

error

Logs recoverable application error.

See also ErrorDescription, ApplicationException

error: ErrorDescription?

message

The human-readable message

message: String