-
Notifications
You must be signed in to change notification settings - Fork 299
Description
I have a kind request about the exiv2 sources. I see that debug builds use the define DEBUG
to print more verbose output messages. These messages are directly written to std::cout
or std::cerr
.
This behavior is quite common and there is really nothing wrong with it. However I would slightly prefer more control over the messages, because when I use exiv2 debug builds, they tend to be quite verbose on stdout/stderr.
Would it be acceptable to change the logging behavior? I could think to either add a new define like EXIV2_DEBUG_MESSAGES
that users can separately control independent of DEBUG
. Or to leave the messages to be printed only when DEBUG
is defined, but print via exiv2's existing logging mechanism from error.hpp
so users can control the verbosity at runtime.
Does any of this sound reasonable? If you find it not worthwhile, please feel free to close this kind request.