Skip to content

LoggerSettings__c

Logger Settings

Used to configure hierarchial settings in Nebula Logger to provide user-specific & profile-specific customizations

API Name

LoggerSettings__c

Fields

Log Owner

API Name

DefaultLogOwner__c

Type

Text


Log Purge Action

API Name

DefaultLogPurgeAction__c

Type

Text


Log Access Level

Uses Apex managed sharing to grants users read or edit access to their log records (on insert only). When no access level is specified, no Apex sharing logic is executed. This only gives record-level access - users will still need to be granted access to the Log__c object using permission sets or profiles.

API Name

DefaultLogShareAccessLevel__c

Type

Text


Days to Retain Logs

This value is used to set the field Logc.LogRetentionDatec, which is then used by LogBatchPurger to delete old logs. To keep logs indefinitely, set this field to blank (null).

API Name

DefaultNumberOfDaysToRetainLogs__c

Type

Number


Platform Event Storage Location

Defaults to CUSTOM_OBJECTS. This controls the default location where LogEntryEvente records are stored - when null, LogEntryEvente records will not be stored.

API Name

DefaultPlatformEventStorageLocation__c

Type

Text


Platform Event Storage Logging Level

API Name

DefaultPlatformEventStorageLoggingLevel__c

Type

Text


Save Method

Required

Defaults to EVENT_BUS. This controls the default save method used by Logger when calling saveLog(). In most situations, EVENT_BUS should be used.

API Name

DefaultSaveMethod__c

Type

Text


Scenario

Sets a default scenario for the transaction

API Name

DefaultScenario__c

Type

Text


End Time

API Name

EndTime__c

Type

DateTime


Enable Anonymous Mode

API Name

IsAnonymousModeEnabled__c

Type

Checkbox


Enable Apex System.debug()

API Name

IsApexSystemDebugLoggingEnabled__c

Type

Checkbox


Enable Data Masking

API Name

IsDataMaskingEnabled__c

Type

Checkbox


Enabled

API Name

IsEnabled__c

Type

Checkbox


Enable JavaScript console.log()

API Name

IsJavaScriptConsoleLoggingEnabled__c

Type

Checkbox


Enable JavaScript lightning-logger

API Name

IsJavaScriptLightningLoggerEnabled__c

Type

Checkbox


Strip Inaccessible Record Fields

API Name

IsRecordFieldStrippingEnabled__c

Type

Checkbox


Enable Saving

Controls if saving is enabled - when disabled, any calls to saveLog() are ignored.

API Name

IsSavingEnabled__c

Type

Checkbox


Logging Level

Required

API Name

LoggingLevel__c

Type

Text


Start Time

API Name

StartTime__c

Type

DateTime