Glib::Log(3pm)

NAME

Glib::Log - A flexible logging mechanism

METHODS

scalar = Glib::Log->set_always_fatal ($fatal_mask)
o $fatal_mask (scalar)
Glib->critical ($domain, $message)
o $domain (string or undef)
o $message (string)
Glib->error ($domain, $message)
o $domain (string or undef)
o $message (string)
scalar = Glib::Log->set_fatal_mask ($log_domain, $fatal_mask)
o $log_domain (string)
o $fatal_mask (scalar)
integer = Glib::Log->set_handler ($log_domain, $log_levels, $log_func,
$user_data=undef)
o $log_domain (string or undef) name of the domain to handle with
this callback.
o $log_levels (Glib::LogLevelFlags) log levels to handle with this
callback
o $log_func (subroutine) handler function
o $user_data (scalar)
Glib->log ($log_domain, $log_level, $message)
o $log_domain (string or undef)
o $log_level (scalar)
o $message (string)
Glib->message ($domain, $message)
o $domain (string or undef)
o $message (string)
Glib::Log->remove_handler ($log_domain, $handler_id)
o $log_domain (string or undef)
o $handler_id (integer) as returned by "set_handler"
Glib->warning ($domain, $message)
o $domain (string or undef)
o $message (string)

ENUMS AND FLAGS

flags Glib::LogLevelFlags
o 'recursion' / 'G_LOG_FLAG_RECURSION'
o 'fatal' / 'G_LOG_FLAG_FATAL'
o 'error' / 'G_LOG_LEVEL_ERROR'
o 'critical' / 'G_LOG_LEVEL_CRITICAL'
o 'warning' / 'G_LOG_LEVEL_WARNING'
o 'message' / 'G_LOG_LEVEL_MESSAGE'
o 'info' / 'G_LOG_LEVEL_INFO'
o 'debug' / 'G_LOG_LEVEL_DEBUG'
o 'fatal-mask' / 'G_LOG_FATAL_MASK'

SEE ALSO

Glib

COPYRIGHT

Copyright (C) 2003-2009 by the gtk2-perl team.

This software is licensed under the LGPL. See Glib for a full notice.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout