-
Notifications
You must be signed in to change notification settings - Fork 517
LogMessage
pozil edited this page Nov 14, 2024
·
12 revisions
A class for automatically attaching metadata to log messages like Quiddity and RequestID
Group Shared Code
private static final EXCEPTION_STRING_FORMATString
public read only property for the request ID. Privately set.
public requestIdString
Public read only property for quiddity. Privately set.
public quiddityQuiddity
Public message property.
public messageString
Public severity property.
public severityConstructor accepting a message to log. Severity is auto set to info
public LogMessage(String message)| Name | Type | Description |
|---|---|---|
| message | String |
Constructor accepting an exception object.
public LogMessage(Exception ex)| Name | Type | Description |
|---|---|---|
| ex | Exception |
converts this object to an event for publishing
public Log__e toEvent()Log__e