On Sun, 2 Jan 2011 15:47:01 +0100 "Bertalan Fodor (LilyPondTool)" <lilypondt...@organum.hu> wrote:
> You should consider using a proper logging framework with different > logging levels. > The first thing that jumps out at me is Apache log4cxx. It is a robust logging framework based on Java log4j. It introduces dependencies on the apache portable runtime library as has Apache License v2.0, which states: "[...] is a license that is supposed to be compatible with other open source licenses, while remaining true to the original goals of the Apache Group and supportive of collaborative development across both nonprofit and commercial organizations. The Apache Software Foundation is still trying to determine if this version of the Apache License is compatible with the GPL." The opposite end of the spectrum, is a much simpler logging class that I cook myself based on syslogd. It is controlled by command-line argument (--level | -l), exists as a global object and exposes the traditional methods: error() warn() notice() info() etc... Any other recommendations in the middle? David _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel