Task #12739 (closed)
Opened 9 years ago
Closed 9 years ago
C++ logging support
Reported by: | rleigh | Owned by: | rleigh |
---|---|---|---|
Priority: | minor | Milestone: | 5.1.1 |
Component: | Bio-Formats | Version: | 5.1.0-m1 |
Keywords: | cpp | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Add logging library and use in all classes. Need to evaluate possibilities.
I've looked at Google log (glog). Very simple (maybe too simple). Deployed on all CI nodes now.
Also consider Boost.Log. Much more powerful control over logging, and more features including class-based logging like we have with Java. An advantage is that it already comes for free so we don't add any more source deps.
Change History (1)
comment:1 Changed 9 years ago by rleigh
- Resolution set to fixed
- Status changed from new to closed
https://github.com/openmicroscopy/bioformats/pull/1614 adds initial support for Boost.Log logging. It will need further improvements to enable nicer message formatting, log channels etc, and expansion of logging in classes which don't currently log anything.