Re: Bug in glib in g_logv



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]