NebulaLogger

The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.

View the Project on GitHub jongpie/NebulaLogger

FlowLogEntry class

Handles adding new log entries in Flow

FlowRecordLogEntry

FlowCollectionLogEntry

FlowLogger

Logger

LogEntryEventBuilder


Properties

faultMessageString

Optionally log a Flow fault error message

flowNameString

The API name of the Flow creating the log entry. Due to Salesforce limitations, this cannot be automatically determined.

loggingLevelNameString

Optionally specify a logging level - the default is 'DEBUG'

messageString

The message to log

recordIdId

Optionally relate the log entry to a particular record ID

saveLogBoolean

Optionally choose to save any pending log entries

saveMethodNameString

Optionally choose the save method to use when 'Save Log' is true

scenarioString

Optionally specify the name to use for the current transaction's scenario

shouldThrowFaultMessageExceptionBoolean

Optionally rollback Database operations executed until Apex action was called and save the log entry.

tagsStringString

Optionally provide a comma-separated String of tags to dynamically assign to the log entry

timestampDateTime

Current system timestamp.

topicsList<String>

Optionally provide a comma-separated String of tags to dynamically assign to the log entry


Methods

addFlowEntries(List<FlowLogEntry> flowLogEntries)List<String>

Invocable method, that can be called via flow.

Parameters
Param Description
flowLogEntries The list of FlowLogEntry instances to save
Return

Type

List<String>

Description

The current transaction's ID (based on Logger.getTransactionId())