Advanced Logger for MATLAB

Configurable and extensible logging for MATLAB applications
347 Downloads
Updated 20 Jun 2024

Advanced Logger for MATLAB

View Advanced Logger for MATLAB on File Exchange Open in MATLAB Online

Advanced Logger for MATLAB provides configurable and extensible logging capabilites for MATLAB applications.

This logger can be configured to write to multiple outputs:

  • A log file in text format
  • Command window output
  • A public event that can be listened to (for example, if you want to show the user a log of informational events in your MATLAB app)

Each of these outputs can be individually configured with the minimum severity level of messages to be written.

Give your logger a unique name and it will be globally available as a singleton instance. This is because a single instance of Logger must manage the log file being written to. You can access the logger from multiple places in your code given its unique name. (There is no need to pass around the logger's object handle throughout your code!)

The logger is extensible for additional message fields, message formatting, etc.

Planning a complex or business-critical app? MathWorks Consulting can advise you on design, architecture, and performance: https://www.mathworks.com/services/consulting/proven-solutions/software-development-with-matlab.html

Cite As

Robyn Jackey (2024). Advanced Logger for MATLAB (https://github.com/mathworks/advanced-logger/releases/tag/2.0.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.1

See release notes for this release on GitHub: https://github.com/mathworks/advanced-logger/releases/tag/2.0.1

2.0.0

See release notes for this release on GitHub: https://github.com/mathworks/advanced-logger/releases/tag/2.0.0

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.