It is important that this library and the CLI have a logging capability.
However, since this is a library, we'll need the capability to be "pluggable" to various logging capabilities.
I think the right way may be some kind of logging class "registration" at startup, with sensible defaults (e.g., stderr).
The capability should use an existing open source C++ logging library and be configurable by the library user or by config file (e.g. JSON file).
It is important that this library and the CLI have a logging capability.
However, since this is a library, we'll need the capability to be "pluggable" to various logging capabilities.
I think the right way may be some kind of logging class "registration" at startup, with sensible defaults (e.g., stderr).
The capability should use an existing open source C++ logging library and be configurable by the library user or by config file (e.g. JSON file).