1Glib::Log(3)          User Contributed Perl Documentation         Glib::Log(3)
2
3
4

NAME

6       Glib::Log -  A flexible logging mechanism
7

METHODS

9       scalar = Glib::Log->set_always_fatal ($fatal_mask)
10
11           * $fatal_mask (scalar)
12
13       Glib->critical ($domain, $message)
14
15           * $domain (string or undef)
16           * $message (string)
17
18       Glib->error ($domain, $message)
19
20           * $domain (string or undef)
21           * $message (string)
22
23       scalar = Glib::Log->set_fatal_mask ($log_domain, $fatal_mask)
24
25           * $log_domain (string)
26           * $fatal_mask (scalar)
27
28       integer = Glib::Log->set_handler ($log_domain, $log_levels, $log_func,
29       $user_data=undef)
30
31           * $log_domain (string or undef) name of the domain to handle with
32           this callback.
33           * $log_levels (Glib::LogLevelFlags) log levels to handle with this
34           callback
35           * $log_func (subroutine) handler function
36           * $user_data (scalar)
37
38       Glib->log ($log_domain, $log_level, $message)
39
40           * $log_domain (string or undef)
41           * $log_level (scalar)
42           * $message (string)
43
44       Glib->message ($domain, $message)
45
46           * $domain (string or undef)
47           * $message (string)
48
49       Glib::Log->remove_handler ($log_domain, $handler_id)
50
51           * $log_domain (string or undef)
52           * $handler_id (integer) as returned by "set_handler"
53
54       Glib->warning ($domain, $message)
55
56           * $domain (string or undef)
57           * $message (string)
58

ENUMS AND FLAGS

60       flags Glib::LogLevelFlags
61
62       * 'recursion' / 'G_LOG_FLAG_RECURSION'
63       * 'fatal' / 'G_LOG_FLAG_FATAL'
64       * 'error' / 'G_LOG_LEVEL_ERROR'
65       * 'critical' / 'G_LOG_LEVEL_CRITICAL'
66       * 'warning' / 'G_LOG_LEVEL_WARNING'
67       * 'message' / 'G_LOG_LEVEL_MESSAGE'
68       * 'info' / 'G_LOG_LEVEL_INFO'
69       * 'debug' / 'G_LOG_LEVEL_DEBUG'
70       * 'fatal-mask' / 'G_LOG_FATAL_MASK'
71

SEE ALSO

73       Glib
74
76       Copyright (C) 2003-2007 by the gtk2-perl team.
77
78       This software is licensed under the LGPL.  See Glib for a full notice.
79
80
81
82perl v5.8.8                       2007-02-26                      Glib::Log(3)
Impressum