The most robust observability solution for Salesforce experts. Built 100% natively on the platform, and designed to work seamlessly with Apex, Lightning Components, Flow, OmniStudio, and integrations.
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
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
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