Top | ![]() |
![]() |
![]() |
![]() |
|
e_debug_log () |
|
e_debug_logv () |
|
e_debug_log_load_configuration () |
|
e_debug_log_enable_domains () |
|
e_debug_log_disable_domains () |
|
e_debug_log_is_domain_enabled () |
|
e_debug_log_dump () |
|
e_debug_log_dump_to_dated_file () |
|
e_debug_log_set_max_lines () |
|
e_debug_log_get_max_lines () |
|
e_debug_log_clear () |
#define | E_DEBUG_LOG_DOMAIN_USER |
#define | E_DEBUG_LOG_DOMAIN_GLOG |
#define | E_DEBUG_LOG_DOMAIN_CAL_QUERIES |
void e_debug_log (,
gboolean is_milestoneconst
,gchar *domainconst
,gchar *format...
);
Records debug information for the given domain
, if enabled, or always,
when is_milestone
is set to TRUE.
is_milestone |
the debug information is a milestone |
|
domain |
for which domain the debug information belongs |
|
format |
print format |
|
... |
arguments for the format |
Since: 2.32
void e_debug_logv (,
gboolean is_milestoneconst
,gchar *domainconst
,gchar *format);
va_list args
Records debug information for the given domain
, if enabled, or always,
when is_milestone
is set to TRUE.
is_milestone |
the debug information is a milestone |
|
domain |
for which domain the debug information belongs |
|
format |
print format |
|
args |
arguments for the format |
Since: 2.32
gboolean e_debug_log_load_configuration (const
,gchar *filename);
GError **error
Loads configuration for the logging from the given filename
.
Since: 2.32
void e_debug_log_enable_domains (const
,gchar **domains);
gint n_domains
Enables all domains from the domains
array.
domains |
an array of domains to enable. |
[array length=n_domains] |
n_domains |
legth of the |
Since: 2.32
void e_debug_log_disable_domains (const
,gchar **domains);
gint n_domains
Disables all domains from the domains
array.
domains |
an array of domains to disable. |
[array length=n_domains] |
n_domains |
legth of the |
Since: 2.32
gboolean e_debug_log_is_domain_enabled (const
);gchar *domain
whether the given log domain is enabled, which means that any logging to this domain is recorded.
Since: 2.32
gboolean e_debug_log_dump (const
,gchar *filename);
GError **error
Saves current log information to the given filename
.
filename |
a filename to save logged information to |
|
error |
return location for a |
Since: 2.32
gboolean e_debug_log_dump_to_dated_file ();
GError **error
Saves current log information to a file "e-debug-log-YYYY-MM-DD-HH-mm-ss.txt" in the user's HOME directory.
Since: 2.32
void e_debug_log_set_max_lines ();
gint num_lines
Limits how many lines the log can have.
Since: 2.32