One Logger
Enterprise logger for all organizations.
Collect and monitor logs across all your Salesforce apps.
Features
- Platform event based logging utility, featuring a fluent interface.
- Ability to import logs from various external solutions.
- Support for Apex, Flows, database errors, HTTP/REST requests, inbound emails.
- User-friendly interface for easy exploration and monitoring of logs.
- Slack integration plugin.
- Flexibility to create custom plugins as per specific requirements.
Logging API example
public class SpaceshipController {
private static ok.Logger logger = ok.Logger.getLogger(SpaceshipController.class);
private Spaceship__c spaceship;
public Boolean prepareForHyperspaceJump() {
Id pilotId = UserInfo.getUserId();
Boolean isAuthorized = isHyperspaceJumpAuthorized(pilotId);
if (!isAuthorized) {
// WARNING log.
logger.warn().linkSObject(spaceship).linkSObject2(pilotId).log('Pilot is not authorized.');
return false;
}
// INFO log.
logger.info().addPayloadJson(spaceship.getEngineStatus()).log('Hyperspace jump is ready.');
return true;
}
}
See more examples.
Contents
Pricing
See pricing.