-
Notifications
You must be signed in to change notification settings - Fork 13
LogMessage
codefriar edited this page Oct 5, 2023
·
2 revisions
STATUS: ACTIVE
A class for automatically attaching metadata to log messages like Quiddity and RequestID
See Log
See LogException
Constructor accepting a message to log. Severity is auto set to info
Param | Description |
---|---|
severity |
LoggingLevel the severity of the message |
message |
String the string to log |
Constructor accepting a message to log. Severity is auto set to info
Param | Description |
---|---|
message |
String the string to log |
Constructor accepting an exception object.
Param | Description |
---|---|
ex |
any exception object |
Public message property.
Public read only property for quiddity. Privately set.
public read only property for the request ID. Privately set.
Public severity property.
converts this object to an event for publishing
Type | Description |
---|---|
Log__e | SObject |