mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Improve handling of GLib log messages
This patch introduces setting "glib_log_domains", which is a space-separated list of log domain names, optionally prefixed with a '-'. The list is parsed from left to right to determine whether or not user wants to see message from a particular log domain. Keywords 'all' or '*' are allowed as well. Examples: "GLib-GIO", "all -GLib-GIO", "-*" This patch also changes the default format for displaying GLib log messages to include the log domain.
This commit is contained in:
parent
608c7b09d7
commit
9b79749f6c
2 changed files with 69 additions and 6 deletions
|
|
@ -288,7 +288,7 @@ FORMAT_REC fecommon_core_formats[] = {
|
|||
{ "config_saved", "Saved configuration to file $0", 1, { 0 } },
|
||||
{ "config_reloaded", "Reloaded configuration", 1, { 0 } },
|
||||
{ "config_modified", "Configuration file was modified since irssi was last started - do you want to overwrite the possible changes?", 1, { 0 } },
|
||||
{ "glib_error", "{error $0} $1", 2, { 0, 0 } },
|
||||
{ "glib_error", "{error ($0) $1} $2", 3, { 0, 0, 0 } },
|
||||
{ "overwrite_config", "Overwrite config (y/N)?", 0 },
|
||||
{ "set_title", "[{hilight $0}]", 1, { 0 } },
|
||||
{ "set_item", "$[-!32]0 %_$1", 2, { 0, 0 } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue