lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilypond logging (Re: lilypond too noisy on the cmd line)


From: David Santamauro
Subject: lilypond logging (Re: lilypond too noisy on the cmd line)
Date: Mon, 3 Jan 2011 06:16:08 -0500

On Sun, 2 Jan 2011 15:47:01 +0100
"Bertalan Fodor (LilyPondTool)" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]