Re: g_log_set_default_handler
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: g_log_set_default_handler
- Date: Mon, 02 Mar 2009 10:06:06 +1100
muppet <scott asofyet org> writes:
My gut reaction was "we set a global default handler already", but we
don't.
I wondered if a default handler might cover what gperl_handle_logs_for()
sets up. Or maybe just offer gperl_log_handler() at the perl level so
you could pass it to set_default_handler() if you wanted. Or offer
gperl_handle_logs_for() at the perl level, to do just specific domains.
But maybe that's been thought through before.
One nit: there is no concurrency protection for
gperl_log_default_handler_callback.
Oops, yep. I think I've badly botched the log_func==undef case too.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]