Skip to content

Version 4.0.0 - Managed Package Released

Choose a tag to compare

@jongpie jongpie released this 25 Feb 02:50
b1d1f59

New 2nd Generation Managed Package

New Features

  • Added new 'Related Log Entries' Lightning web component. Using field sets and App Builder, admins can add the component to any record page
  • New log management - new fields & 'Manage Log' quick action provide the ability to track details about each log, such as priority, status, issue, closed/open, closed by, closed date, 'is resolved', etc. Statuses can be configured using LogStatus__mdt custom metadata type.
  • Added new schedulable Apex class LogBatchPurgeScheduler for scheduling deletion of old logs
  • Old aura 'View JSON' cmp is now a wrapper for new Lightning web component logViewer
  • Updated all metadata to API v51.0 (Spring '21 release)
  • Update README to include more details & screenshots

Bugfixes

  • Resolved an issue where LogEntry__c.Timestamp__c was not precise - it now includes an accurate value for milliseconds within the timestamp

Removed Apex Classes

  • Removed FlowLogRepo - existing orgs should still be able to use it for the foreseeable future
  • Removed Callout and RestApi classes - these are no longer needed for Logger, but the classes are still available/maintained in a separate ApexCallouts repo

Removed or Changed Apex Methods

  • Logger class
    • Removed saveLog(Quiddity quiddity), and re-added saveLog(SaveMethod saveMethod) + SaveMethod enum
    • Removed parameterless logging methods (error(), warn(), info(), debug(), fine(), finer(), finest()) (they're now private)
    • Replaced createLogEntryEventBuilder() with newEntry() method (with overloads)
  • LogEntryBuilder class
    • Removed method setUserSessionDetails() (it's now private)
    • Removed alwaysSave() method - new approach is Logger.newEntry(loggingLevel, message, true);