News for hackers. Stuff that matters.
Re:Why a Logging Framework Should Not Log by btilly on Thursday May 05, 2016 @03:21PM (#11638979)
A good default is to write to STDERR if the severity level is above some threshold, otherwise do nothing.

That way the console can tell you about configuration errors, and by default the library will log nothing. If the library author considers it important to log somewhere, the library author is responsible for putting both an understandable warning up, and writing documentation.

There are no comments on this comment yet.