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

time: datetime

level

This log level

level: LogLevel

source

The source (context name)

source: str

correlation_id

The transaction id to trace execution through a call chain.

correlation_id: Optional[str]

error

The transaction id to trace execution through a call chain.

See also ErrorDescription, ApplicationException

error: ErrorDescription

message

The human-readable message

message: str