The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
The core class for logging
Enum used to control how LogEntryEvent__e records are inserted
allOrNone → BooleanBoolean used when saving records. If true, all records must save correctly or an exception is thrown. If false, partial processing is enabled, and if an indidividual record fails, successful records are still saved without exception.
records → List<SObject>List of records to save.
callStatusApi() → StatusApiResponseThis is only intended to be used internally by Nebula Logger, and is subject to change. Calls Salesforce's API endpoint https://api.status.salesforce.com/v1/instances/ to get more details about the current org, including the org's release number and release version. Trust API docs available at https://api.status.salesforce.com/v1/docs/
Type
StatusApiResponse
Description
An instance of Logger.StatusApiResponse (a DTO that maps to the JSON returned by the status API endpoint),
createSettings() → LoggerSettings__cThis is only intended to be used internally by Nebula Logger, and is subject to change. Creates a new, unsaved LoggerSettings__c record
Type
LoggerSettings__c
Description
A new LoggerSettings__c record, with all fields populated with default field values
debug(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
debug(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.DEBUG
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
endScenario(String scenario) → voidEnd the specified scenario, if it's the currently active scenario, and rolls back to the previous scenario (if a previous scenario was specified in the current transaction)
| Param | Description |
|---|---|
scenario |
The name of the scenario to end |
error(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Id recordId, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, SObject record, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<SObject> records, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Id recordId, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, SObject record, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<SObject> records, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
error(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.ERROR
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
exception(LogMessage logMessage, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
apexException |
The instance of System.Exception to log and throw |
exception(LogMessage logMessage, Id recordId, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log and throw |
exception(LogMessage logMessage, SObject record, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log and throw |
exception(LogMessage logMessage, List<SObject> records, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log and throw |
exception(String message, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
apexException |
The instance of System.Exception to log and throw |
exception(String message, Id recordId, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log and throw |
exception(String message, SObject record, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log and throw |
exception(String message, List<SObject> records, System.Exception apexException) → voidCreates a new log entry with logging level == System.LoggingLevel.ERROR, automatically saves the log, and then throws the provided exception
| Param | Description |
|---|---|
message |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log and throw |
fine(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
fine(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINE
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finer(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINER
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
finest(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.FINEST
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
flushBuffer() → voidDiscards any entries that have been generated but not yet saved
getBufferSize() → IntegerReturns the number of entries that have been generated but not yet saved
Type
Integer
Description
Integer
getCurrentQuiddity() → System.QuiddityReturns the System.Quiddity context of the current transaction.
Type
System.Quiddity
Description
System.Quiddity - The value of System.Request.getCurrent().getQuiddity()
getLoggingLevel(String loggingLevelName) → System.LoggingLevelConverts a String to an instance of LoggingLevel
| Param | Description |
|---|---|
loggingLevelName |
The string name of an Apex logging level |
Type
System.LoggingLevel
Description
The matching instance of System.LoggingLevel (or a default value if a match is not found)
getNamespacePrefix() → StringThis is only intended to be used internally by Nebula Logger, and is subject to change. Returns the current namespace of Nebula Logger
Type
String
Description
The current namespace prefix, or an empty string when no namespace is being used
getOrganizationApiVersion() → StringThis is only intended to be used internally by Nebula Logger, and is subject to change. Returns the current Salesforce API version number of the org
Type
String
Description
The current API version, in the format v00.0
getParentLogTransactionId() → StringReturns the transaction ID value that will be used to relate the current transaction's log to a parent log
Type
String
Description
String - The parent log's transaction ID. This must be explicitly set by calling setParentLogTransactionId(String)
getRequestId() → StringReturns the request ID generated by Salesforce for a particular transaction. This value is stored in LogEntryEvent__e.RequestId__c and Log__c.RequestId__c.
Type
String
Description
String - The value returned by System.Request.getCurrent().getRequestId()
getSaveMethod() → SaveMethodReturns the default save method used when calling saveLog() - set via LoggerSettings__c or by calling setSaveMethod(SaveMethod saveMethod)
Type
SaveMethod
Description
The enum value of Logger.SaveMethod to use for any calls to saveLog() in the current transaction
getScenario() → StringReturns the scenario name for the current transaction - this is stored in LogEntryEvent__e.Scenario__c and Log__c.Scenario__c, and can be used to filter & group logs
Type
String
Description
The value currently set as the current transaction's scenario
getTransactionId() → StringReturns the unique ID generated by Nebula Logger for a particular transaction. This value is stored in LogEntryEvent__e.TransactionId__c and Log__c.TransactionId__c.
Type
String
Description
String - A UUID value generated by Nebula Logger, using System.UUID.randomUUID().toString()
getUserLoggingLevel() → System.LoggingLevelReturns the logging level for the current user, based on the custom setting LoggerSettings__c
Type
System.LoggingLevel
Description
System.LoggingLevel - The matching instance of LoggingLevel
getUserSettings() → LoggerSettings__cThis is only intended to be used internally by Nebula Logger, and is subject to change. Returns the current user's instance of LoggerSettings__c
Type
LoggerSettings__c
Description
LoggerSettings__c - The current user's instance of the custom settings
getUserSettings(Schema.User loggingUser) → LoggerSettings__cThis is only intended to be used internally by Nebula Logger, and is subject to change. Returns the specified user's instance of LoggerSettings__c
| Param | Description |
|---|---|
loggingUser |
The user record - at a minimum, this record should have the user Id and Profile fields populated |
Type
LoggerSettings__c
Description
LoggerSettings__c - The specified user's instance of the custom settings
getVersionNumber() → StringReturns the current version number of Nebula Logger
Type
String
Description
The current version number, in the format v0.0.0
ignoreOrigin(System.Type apexType) → voidAdds the specified Apex type to the list of ignored origin locations for the current transaction. Any ignored types will be removed from the StackTrace__c field, and will be skipped when determining the log entry's origin location
| Param | Description |
|---|---|
apexType |
The Apex type of the class to ignore |
info(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
info(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.INFO
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
isDebugEnabled() → BooleanIndicates if logging level 'DEBUG' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isEnabled() → BooleanIndicates if logging has been enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isEnabled(System.LoggingLevel loggingLevel) → BooleanIndicates if logging for the specified logging level is enabled for the current user, based on the custom setting LoggerSettings__c
| Param | Description |
|---|---|
loggingLevel |
- The logging level to check |
Type
Boolean
Description
Boolean
isErrorEnabled() → BooleanIndicates if logging level 'ERROR' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isFineEnabled() → BooleanIndicates if logging level 'FINE' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isFinerEnabled() → BooleanIndicates if logging level 'FINER' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isFinestEnabled() → BooleanIndicates if logging level 'FINEST' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isInfoEnabled() → BooleanIndicates if logging level 'INFO' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
isSavingSuspended() → BooleanIndicates if saving has been temporarily suspended for the current transaction
Type
Boolean
Description
Boolean
isWarnEnabled() → BooleanIndicates if logging level 'WARN' is enabled for the current user, based on the custom setting LoggerSettings__c
Type
Boolean
Description
Boolean
logDatabaseErrors(System.LoggingLevel loggingLevel, LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<DeleteResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<DeleteResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel,LogMessage logMessage,List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<EmptyRecycleBinResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel,String message,List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<EmptyRecycleBinResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel,LogMessage logMessage,List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<LeadConvertResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<LeadConvertResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<MergeResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<MergeResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<SaveResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<SaveResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<UpsertResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<UpsertResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<UndeleteResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
logDatabaseErrors(System.LoggingLevel loggingLevel, String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a log entry for any results within the provided List<UndeleteResult> where isSuccess() != true
| Param | Description |
|---|---|
loggingLevel |
The logging level to use for the log entry |
message |
The string to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The instance of LogEntryBuilder was generated to log any errors, or null if there are no errors
meetsUserLoggingLevel(System.LoggingLevel logEntryLoggingLevel) → BooleanIndicates if the specified logging level is enabled for the current user, based on the custom setting LoggerSettings__c
| Param | Description |
|---|---|
logEntryLoggingLevel |
the logging level to check. |
Type
Boolean
Description
Boolean
newEntry(System.LoggingLevel loggingLevel, LogMessage logMessage, Boolean shouldSave) → LogEntryEventBuilderAdds a new instance of LogEntryEventBuilder to Logger's buffer, when shouldSave is true
| Param | Description |
|---|---|
loggingLevel |
The logging level enum value for the new entry |
logMessage |
The instance of LogMessage to use as the entry's message |
shouldSave |
Controls if the new entry will be saved. This can be used to save entries, even if the entry's logging level does not meet the user's logging level |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder
newEntry(System.LoggingLevel loggingLevel, LogMessage logMessage) → LogEntryEventBuilderAdds a new instance of LogEntryEventBuilder to Logger's buffer, if it meets the user's logging level
| Param | Description |
|---|---|
loggingLevel |
The logging level enum value for the new entry |
logMessage |
The instance of LogMessage to use as the entry's message |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder
newEntry(System.LoggingLevel loggingLevel, String message, Boolean shouldSave) → LogEntryEventBuilderAdds a new instance of LogEntryEventBuilder to Logger's buffer, if it meets the user's logging level
| Param | Description |
|---|---|
loggingLevel |
The logging level enum value for the new entry |
message |
The string to use as the entry's message |
shouldSave |
Controls if the new entry will be saved. This can be used to save entries, even if the entry's logging level does not meet the user's logging level |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder
newEntry(System.LoggingLevel loggingLevel, String message) → LogEntryEventBuilderAdds a new instance of LogEntryEventBuilder to Logger's buffer, if it meets the user's logging level
| Param | Description |
|---|---|
loggingLevel |
The logging level enum value for the new entry |
message |
The string to use as the entry's message |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder
resumeSaving() → voidResumes saving for the current transaction, used to reverse suspendSaving(). Any calls to saveLog() are ignored until saving is resumed.
saveLog() → voidSaves any entries in Logger's buffer. By default, entries are saved via Apex's EventBus and can be overridden with setSaveMethod(SaveMethod saveMethod)
saveLog(SaveMethod saveMethod) → voidSaves any entries in Logger's buffer, using the specified save method for only this call. All subsequent calls to saveLog() will use the transaction save method.
| Param | Description |
|---|---|
saveMethod |
The enum value of Logger.SaveMethod to use for this specific save action. |
saveLog(String saveMethodName) → voidThis is only intended to be used internally by Nebula Logger, and is subject to change. Saves any entries in Logger's buffer, using the specified save method for only this call. All subsequent calls to saveLog() will use the transaction save method.
| Param | Description |
|---|---|
saveMethodName |
The String value of the save method to use for this specific save action. |
setAsyncContext(Database.BatchableContext batchableContext) → voidStores additional details about the current transacation's async context
| Param | Description |
|---|---|
batchableContext |
- The instance of Database.BatchableContext to track |
setAsyncContext(System.FinalizerContext finalizerContext) → voidStores additional details about the current transacation's async context
| Param | Description |
|---|---|
finalizerContext |
- The instance of System.FinalizerContext to track |
setAsyncContext(System.QueueableContext queueableContext) → voidStores additional details about the current transacation's async context
| Param | Description |
|---|---|
queueableContext |
- The instance of System.QueueableContext to track |
setAsyncContext(System.SchedulableContext schedulableContext) → voidStores additional details about the current transacation's async context
| Param | Description |
|---|---|
schedulableContext |
- The instance of System.SchedulableContext to track |
setField(Schema.SObjectField field, Object fieldValue) → voidSets a field value on every generated LogEntryEvent__e record
| Param | Description |
|---|---|
field |
The Schema.SObjectField token of the field to populate |
fieldValue |
The Object value to populate in the provided field |
setField(Map<Schema.SObjectField, Object> fieldToValue) → voidSets multiple field values oon every generated LogEntryEvent__e record
| Param | Description |
|---|---|
fieldToValue |
An instance of Map<Schema.SObjectField, Object> containing the |
setParentLogTransactionId(String parentTransactionId) → voidRelates the current transaction's log to a parent log via the field Logc.ParentLogc This is useful for relating multiple asynchronous operations together, such as batch & queueable jobs.
| Param | Description |
|---|---|
parentTransactionId |
- The transaction ID of the original parent transaction |
setSaveMethod(SaveMethod saveMethod) → voidSets the default save method used when calling saveLog() - any subsequent calls to saveLog() will use the specified save method
| Param | Description |
|---|---|
saveMethod |
The enum value of Logger.SaveMethod to use for any other calls to saveLog() in the current transaction |
setScenario(String scenario) → voidSets the current scenario, which can be used to identify modules or groupings of for the current transaction
| Param | Description |
|---|---|
scenario |
The name to use for the current transaction's scenario |
suspendSaving() → voidPauses saving for the current transaction. Any calls to saveLog() are ignored until saving is resumed.
warn(LogMessage logMessage, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
deleteResults |
The instance of List<Database.DeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
mergeResults |
The instance of List<Database.MergeResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
saveResults |
The instance of List<Database.SaveResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
undeleteResults |
The instance of List<Database.UndeleteResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
upsertResults |
The instance of List<Database.UpsertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Id recordId, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, SObject record, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<SObject> records, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(LogMessage logMessage) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
logMessage |
The instance of LogMessage to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.DeleteResult deleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResult |
The instance of Database.DeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.EmptyRecycleBinResult emptyRecycleBinResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.LeadConvertResult leadConvertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResult |
The instance of Database.LeadConvertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.MergeResult mergeResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResult |
The instance of Database.MergeResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.SaveResult saveResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResult |
The instance of Database.SaveResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.UndeleteResult undeleteResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResult |
The instance of Database.UndeleteResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Database.UpsertResult upsertResult) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResult |
The instance of Database.UpsertResult to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.DeleteResult> deleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
deleteResults |
The list of Database.DeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.EmptyRecycleBinResult> emptyRecycleBinResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
emptyRecycleBinResults |
The instance of List<Database.EmptyRecycleBinResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.LeadConvertResult> leadConvertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
leadConvertResults |
The instance of List<Database.LeadConvertResult> to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.MergeResult> mergeResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
mergeResults |
The list of Database.MergeResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.SaveResult> saveResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
saveResults |
The list of Database.SaveResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.UndeleteResult> undeleteResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
undeleteResults |
The list of Database.UndeleteResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<Database.UpsertResult> upsertResults) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
upsertResults |
The list of Database.UpsertResult instances to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Id recordId, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, Id recordId) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
recordId |
The record ID of an SObject to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, SObject record, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, SObject record) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
record |
The SObject record to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<SObject> records, System.Exception apexException) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The instance of LogMessage to use to set the entry's message field |
records |
The list of SObject records to log |
apexException |
The instance of System.Exception to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message, List<SObject> records) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
records |
The list of SObject records to log |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
warn(String message) → LogEntryEventBuilderCreates a new log entry with logging level == System.LoggingLevel.WARN
| Param | Description |
|---|---|
message |
The string to use to set the entry's message field |
Type
LogEntryEventBuilder
Description
The new entry's instance of LogEntryEventBuilder, useful for chaining methods
AsyncContext(Database.BatchableContext batchableContext) → publicAsyncContext(System.FinalizerContext finalizerContext) → publicInner class for publishing log entries via the System.Queueable interface.
AsyncContext(System.QueueableContext queueableContext) → publicAsyncContext(System.SchedulableContext schedulableContext) → publicexecute(System.QueueableContext queueableContext) → voidAsynchronoulsy publishes the list of LogEntryEvent__e records
####### Parameters
| Param | Description |
|---|---|
queueableContext |
The context of the current queue, provided by the platform |
insertRecords(List<SObject> records) → voidInserts records via the REST api.
####### Parameters
| Param | Description |
|---|---|
records |
The records to save. |
Products → List<StatusApiResponseProduct>location → StringmaintenanceWindow → StringreleaseNumber → StringreleaseVersion → StringchildJobId → StringfinalizerException → ExceptionfinalizerResult → StringfinalizerUnhandledException → Map<String, Object>key → Stringname → StringparentJobId → StringtriggerId → Stringtype → String