Re: Proposal for 2.8: Glog

Dnia 04-05-2005, śro o godzinie 01:50 -0400, Matthias Clasen napisał:
> > here's a proposal for addition to Glib 2.8, named Glog.
> > Bunch of details:
> > 
> The two immediate questions I have:
> - How does this relate to the existing GLib logging facility
>   (g_log, g_warning, etc) ?

It's complementary. Existing logging is mostly for detecting and
reporting programming errors, and is not intended for heavy-duty tracing
of normal execution. Glog has flexible filtering of shown info, and
supports notion of categories, which makes it usable for dealing with
excessive amounts of data tracing tends to generate.

> - What do we win by putting yet another log4x clone into 
>   Glib instead of simply using log4c ?

Dunno what log4c is :). What we win by Glog is closely coupled with Glib
piece of code (it's not as much a separate library as extension to
Glib), following the same design, and known to work very well with
Glib-based code. Also, it's thoroughly tested, known to work on every
platform Glib works on, and you know the maintainers, so know who to
beat up when something goes wrong ;)

Oh, and probably more than half of existing Glib installations already
has Glog installed (inside GStreamer). So by moving it to Glib, we only
make it available for more applications to use.


Maciej Katafiasz <ml mathrick org>

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