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

LoggerSObjectMetadata class

Provides details to LWCs about Logger's SObjects, using @AuraEnabled properties


Methods

getSchema(Schema.SObjectType sobjectType)SObjectSchema

Provides schema details about the specified SObjectType

Parameters
Param Description
sobjectType The instance of SObjectType to convert to an instance of LoggerSObjectMetadata.SObjectSchema
Return

Type

SObjectSchema

Description

An instance of LoggerSObjectMetadata.SObjectSchema for the specified SObjectType

getSchemaForName(String sobjectApiName)SObjectSchema

Provides schema details about the specified SObjectType

Parameters
Param Description
sobjectApiName The API name of the SObjectType to convert to an instance of LoggerSObjectMetadata.SObjectSchema
Return

Type

SObjectSchema

Description

An instance of LoggerSObjectMetadata.SObjectSchema for the specified SObjectType


Inner Classes

LoggerSObjectMetadata.FieldSchema class

Inner class for SObjectField details to LWCs, using @AuraEnabled properties


Properties
apiNameString
inlineHelpTextString
labelString
localApiNameString
typeString

LoggerSObjectMetadata.SObjectSchema class

Inner class for SObject details to LWCs, using @AuraEnabled properties


Properties
apiNameString
fieldsMap<String, FieldSchema>
labelString
labelPluralString
localApiNameString
namespacePrefixString