Slack Integration
Pre-release
Pre-release
Logs can now be pushed to Slack!
- Slack notifications are automatically colored red when a log contains 1 or more exceptions (otherwise, they're colored green)
- Added new record 'Slack' in custom metadata type
LoggerIntegration__mdt
to store auth details SlackLogPusher
class: handles pushing any LogEntry__c records to Slack where Log__c.PushToSlack__c = trueSlackLogPushScheduler
class: handles scheduling jobs for pushing logs to Slack. There are 3 static methods to make scheduling easier- scheduleEveryXMinutes(Integer x)
- scheduleHourly(Integer startingMinuteInHour)
- scheduleHourly(Integer startingMinuteInHour, String jobName)