Re: Bug in glib in g_logv
- From: Tim Janik <timj gtk org>
- To: Damon Chaplin <damon helixcode com>
- Cc: Jonas Bulow <jonas bulow servicefactory com>,Gtk+ MList <gtk-list gnome org>, gtk-doc-list gnome org
- Subject: Re: Bug in glib in g_logv
- Date: Sun, 11 Jun 2000 20:04:16 +0200 (CEST)
On Sun, 11 Jun 2000, Damon Chaplin wrote:
> Tim Janik wrote:
> I've updated the docs to this:
>
>
> <!-- ##### FUNCTION g_log_set_handler ##### -->
> @log_domain: the log domain, or NULL for the default "" application
> domain.
> @log_levels: the log levels to apply the log handler for. To handle
> fatal
> and recursive messages as well, comine the log levels with the
^^^^^^
combine
> G_LOG_FLAG_FATAL
> and G_LOG_FLAG_RECURSIVE bit flags.
> @log_func: the log handler function.
> @user_data: data passed to the log handler.
> @Returns: the id of the new handler.
also, you should not that LOG_LEVEL_ERROR is *always* logged as fatal,
i.e. it doesn't make sense to install a handler for LOG_LEVEL_ERROR without
passing the FATAL flag as well.
>
> Damon
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]