r15537 - gnucash/trunk - Overhaul gnc/qof logging: Add default log handler that implements a "log4x"-style log level hierarchy. Correctly use G_LOG_DOMAIN, raw glib logging. Cleanup tests that are too loud afterwards.
Derek Atkins
warlord at MIT.EDU
Fri Feb 9 13:23:34 EST 2007
Quoting Josh Sled <jsled at asynchronous.org>:
> I was working from the devhelp text for GLib, which suggests the form I
> used. My auto-fu is weak; I'd love a better suggestion about where/how
> to specify it.
>
> As well, it'd be nice if it was defined to something reasonable (say
> just "gnc") at the top-level, which was used as a default elsewhere, but
> over-ridden (or appended to) in the sub-dirs that are interested in
> doing so.
I wonder if there's some way we can also make it depend on __FILE__ or
maybe even __FUNC__ ? (I don't even know if there /IS/ a __FUNC__)
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list