Skip to content

Releases: 6i-software/vba-monologger

Version 1.0.0

17 Jan 16:24
a10e958
Compare
Choose a tag to compare

Features

  • Manages 8 standard severity levels to classify the importance of log messages, following the PSR-3 standard. It indicates the severity of each event, from the most trivial to the most catastrophic, and allow administrators or developers to filter messages based on their importance.
  • Specify the logging format to define how log messages are structured and displayed. This can be represented on one or multiple lines, with or without ANSI color support, in JSON format, or any other format such as an HTML content.
  • Multiples logs destinations. Specify the destination where logs should be sent, whether it be the VBA console (Excel's immediate window), the Windows console (cmd.exe), or in a file. Additionally, configure the conditions under which logging events are triggered based on specific criteria.
  • Enrich log records. Enhance log records using pre-processors to add context, transform data, or customize log entries to meet specific requirements. Examples include adding CPU or memory usage, generating a unique identifier for each session, or adding tags and more.
  • Create your own custom logging system and manage log propagation (bubbling) when multiple destinations are used. Use channels to identify which part of an application a log entry is associated with. Use dependency injection for logging capabilities within a custom class module.
  • Easily develop your own formatter, handler, and pre-processors to tailor the logging system to your specific needs. By creating unique formatting styles, specialized handlers, and custom pre-processing logic, you can enhance the functionality and flexibility of your logging system.