mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 01:51:20 -05:00
Improve warning handling a bit
We were printing the full program name as prefix for warnings, which does not really help with readability. Lets just use the single-char 'F:' prefix for all messages, regardless of log level. Closes: #2472 Approved by: matthiasclasen
This commit is contained in:
committed by
Atomic Bot
parent
2c794c5d82
commit
ee072c24a4
@@ -178,11 +178,7 @@ message_handler (const gchar *log_domain,
|
||||
const gchar *message,
|
||||
gpointer user_data)
|
||||
{
|
||||
/* Make this look like normal console output */
|
||||
if (log_level & G_LOG_LEVEL_DEBUG)
|
||||
g_printerr ("F: %s\n", message);
|
||||
else
|
||||
g_printerr ("%s: %s\n", g_get_prgname (), message);
|
||||
g_printerr ("F: %s\n", message);
|
||||
}
|
||||
|
||||
static GOptionContext *
|
||||
|
||||
Reference in New Issue
Block a user