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

FlowLogger class

Handles some common logic used by FlowLogEntry, FlowRecordLogEntry and FlowCollectionLogEntry

FlowLogEntry

FlowRecordLogEntry

FlowCollectionLogEntry

Logger

LogEntryEventBuilder


Methods

addEntries(List<LogEntry> flowEntries)List<String>

Adds logging entries

Parameters
Param Description
flowEntries The log entry instances to add.
Return

Type

List<String>

Description

A list of transaction ids.


Inner Classes

FlowLogger.LogEntry class

Inner, wrapper class containing Log Entry information.


Properties
faultMessageString

String containing fault message, if applicable

flowNameString

API name of the flow

loggingLevelNameString

String name of the entry's logging level

messageString

General message to log

saveLogBoolean

Boolean used to determine if logs are saved to Salesforce

saveMethodNameString

String name of the instance of Logger.SaveMethod to use when 'Save Log' is set to true

scenarioString

Optionally specify the scenario to use for the current transaction

shouldThrowFaultMessageExceptionBoolean

Optionally throws an exception when value is set to True (Use it on Fault connectors of your flow).

tagsStringString

Comma-separated string of tags

timestampDateTime

timestamp of the log

topicsList<String>

List of tags / topics


Methods
addToLoggerBuffer()LogEntryEventBuilder

Adds the logger to the buffer

####### Return

Type

LogEntryEventBuilder

Description

An instance of LogEntryEventBuilder