cpp-netlib/cpp-netlib — pull request #167 by Klaim (2012-11-12 15:01:10+00:00)
Title: Logging improvements: options & custom log record handling

This PR adds
- a logging library that act as a "router" of logging records to the log handler.
- CMake options to force logging in non-debug or disable (remove) logging system.
- a way for user code to set a custom logging handler.
- a default logging handler that just push messages in std::cerr.

Initial discussion started here: https://groups.google.com/d/msg/cpp-netlib/KeR_uh7wl2A/tirSOCJsf_8J

Current discussion is going on there: https://groups.google.com/forum/?fromgroups=#!topic/cpp-netlib/Uv98-L44OwE

This is subject to discussion and improvements.
Note: the log_record object will certainly evolve in the future.