LabVIEW System.Logging is an open-source utility and extension framework designed to enhance the developer experience while debugging in the LabVIEW IDE.
That's right a console! printf, console.writline, console.log - your terminal dreams now available in LabVIEW!
- Unified Interface: Logging is handled through a single, consistent set of api functions, simplifying the integration of logging into your LabVIEW projects.
- Dependency Zero: Default providers only require LabVIEW Base, allowing for easy application to small or legacy projects.
- Severity Support: Filter through the noise with severity configurations within log providers.
- Extensible Providers: The framework is released with two initial providers,
consoleandjson. It’s designed to support the addition of new providers, enabling flexibility to integrate various logging utilities. - Scalability: More providers will be added to the project over time, allowing continuous enhancement of logging capabilities.
System.Logging requires LabVIEW 2021+
- Download the Latest Release: System.Logging - Latest Stable
- Copy Source Files to Your Project Directory
- Enjoy
The System.Logger is configured via json file. By way of example this repository contains logger.config - an example configuration of both standard providers is shown below:
- See 'examples' Directory
- Run the provided example
console.provider
- Logging provider that opens console for log message display
- Messages colorized per severity levels
- Multiple provders may be instanitated at different logging severities
json.provider
- Logging provider that creates a json file containing logged messages
- File path and provider features supported by
optionsextension
Contributions are welcome! Please follow these guidelines:
- Create your branch:
git checkout -b feature/YourFeature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin feature/YourFeature - Open a pull request
Please make sure your contributions align with the project's coding standards and include tests/examples where applicable.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue on the repository.
- Special thanks to the LabVIEW community for continuous support and inspiration.
- This project uses concepts and structures inspired by existing logging frameworks in other programming languages.

