image thumbnail

Advanced Logger for MATLAB

version 1.0.0 (42 KB) by Robyn Jackey
Configurable and extensible logging for MATLAB applications

24 Downloads

Updated 12 Feb 2021

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: https://www.mathworks.com/services/consulting/proven-solutions/software-development-with-matlab.html

Cite As

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

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

+mlog

examples/+mlog/+example

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.