mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use enum value QOF_LOG_MESSAGE (newly defined in r19257) instead of the generic G_LOG_LEVEL_MESSAGE
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19261 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -442,7 +442,7 @@ qof_log_level_from_string(const gchar *str)
|
||||
if (g_ascii_strncasecmp("error", str, 5) == 0) return QOF_LOG_FATAL;
|
||||
if (g_ascii_strncasecmp("crit", str, 4) == 0) return QOF_LOG_ERROR;
|
||||
if (g_ascii_strncasecmp("warn", str, 4) == 0) return QOF_LOG_WARNING;
|
||||
if (g_ascii_strncasecmp("mess", str, 4) == 0) return G_LOG_LEVEL_MESSAGE;
|
||||
if (g_ascii_strncasecmp("mess", str, 4) == 0) return QOF_LOG_MESSAGE;
|
||||
if (g_ascii_strncasecmp("info", str, 4) == 0) return QOF_LOG_INFO;
|
||||
if (g_ascii_strncasecmp("debug", str, 5) == 0) return QOF_LOG_DEBUG;
|
||||
return QOF_LOG_DEBUG;
|
||||
|
||||
Reference in New Issue
Block a user