Advanced Logger for MATLAB

version 2.0.0 (58.3 KB) by Robyn Jackey
Configurable and extensible logging for MATLAB applications


Updated Fri, 08 Apr 2022 13:02:20 +0000

From GitHub

View License on GitHub

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:

Cite As

Robyn Jackey (2022). Advanced Logger for MATLAB (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
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!
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.