The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.
Selector class used for all queries that are specific to the logger engine layer
getAuthSessionProxies(List<Id> userIds)
→ Map<Id, LoggerSObjectProxy.AuthSession>
Returns a Map<Id, LoggerSObjectProxy.AuthSession>
for the specified user IDs & their matching active sessions, or null
if there is not a current session
Param | Description |
---|---|
userIds |
userIds description |
Type
Map<Id, LoggerSObjectProxy.AuthSession>
Description
The instance of Map<Id, LoggerSObjectProxy.AuthSession>
containing any matching Schema.AuthSession
records
getCachedAuthSessionProxy()
→ LoggerSObjectProxy.AuthSession
Returns a cached copy of LoggerSObjectProxy.AuthSession
for the current user's current session, or null
if there is not a current session
Type
LoggerSObjectProxy.AuthSession
Description
The cached LoggerSObjectProxy.AuthSession
record
getCachedLoggerSObjectHandlers()
→ List<LoggerSObjectHandler_t>
Returns a cached copy of the LoggerSObjectHandler_t
records in the org, including the field SObjectType__r.QualifiedApiName
that cannot be accessed via LoggerSObjectHandler_t.getAll()
Type
List<LoggerSObjectHandler_t>
Description
The cached List<LoggerSObjectHandler_t>
records
getCachedNetworkProxy(Id networkId)
→ LoggerSObjectProxy.Network
Returns a cached copy of the current user's Schema.Network
site, or null
if the current user is not associated with a Schema.Network
site
Param | Description |
---|---|
networkId |
The record ID of the Schema.Network to query |
Type
LoggerSObjectProxy.Network
Description
The cached Schema.Network
record
getCachedOrganization()
→ Schema.Organization
Returns a cached copy of the Schema.Organization
record in the org, including some fields that cannot be accessed via UserInfo
Type
Schema.Organization
Description
The cached Schema.Organization
record
getCachedTagAssignmentRules()
→ List<LogEntryTagRule_t>
Returns a cached copy of the LogEntryTagRule_t
records in the org, including the field SObjectField__r.QualifiedApiName
that cannot be accessed via LogEntryTagRule_t.getAll()
Type
List<LogEntryTagRule_t>
Description
The cached List<LogEntryTagRule_t>
records
getCachedUser()
→ Schema.User
Returns a cached copy of the current user, including some profile fields that cannot be accessed via UserInfo
Type
Schema.User
Description
The cached Schema.User
record for the current user
getInstance()
→ LoggerEngineDataSelector
The instance LoggerEngineDataSelector
used for any querying specific to the logger engine layer
Type
LoggerEngineDataSelector
Description
The singleton instance of LoggerEngineDataSelector
getNetworkProxies(List<Id> networkIds)
→ Map<Id, LoggerSObjectProxy.Network>
Returns a list of matching Schema.Network
records based on the provided list of network IDs
Param | Description |
---|---|
networkIds |
The list of Schema.Network IDs to query |
Type
Map<Id, LoggerSObjectProxy.Network>
Description
The instance of Map<Id, SObject>
containing any matching Schema.Network
records
getUsers(List<Id> userIds)
→ Map<Id, Schema.User>
Returns a list of matching Schema.User
records based on the provided list of user IDs
Param | Description |
---|---|
userIds |
The list of Schema.User IDs to query |
Type
Map<Id, Schema.User>
Description
The instance of Map<Id, Schema.User>
containing any matching Schema.User
records