[Libguestfs] Callbacks, log messages etc.
Richard W.M. Jones
rjones at redhat.com
Wed Jan 5 13:25:17 UTC 2011
On Wed, Jan 05, 2011 at 10:26:08AM +0100, Marek Goldmann wrote:
> Hi Rich,
>
> On 2010-12-22, at 18:24, Richard W.M. Jones wrote:
>
> > Here's my proposed more usable solution:
> >
> > (i) Each event has a single class, one of:
> > { LOG, VERBOSE, TRACE, SUBPROCESS_QUIT, LAUNCH_DONE, CLOSE, PROGRESS }
>
> What is a LOG event? Is it an INFO level? What do you think about
> standard(?) log levels: INFO, DEBUG, TRACE?
These are the source of the message:
LOG = from the daemon
VERBOSE = from the library
TRACE = when enabling traces
They should probably be differently / better named, but in any case
they are not log levels.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
More information about the Libguestfs
mailing list