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

The time the message was generated

public time: Date

level

This log level

public level: LogLevel

source

The source (context name)

public source: string

correlation_id

The transaction id to trace execution through a call chain.

public correlation_id: string

error

The transaction id to trace execution through a call chain.

See also ErrorDescription, ApplicationException

public error: ErrorDescription

message

The human-readable message

public message: string