* Fixed log levels.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -418,7 +418,7 @@ void Log::outError( const char * err, ... )
|
||||
}
|
||||
|
||||
if(m_colored)
|
||||
SetColor(false,m_colors[LOGL_ERROR]);
|
||||
SetColor(false,RED);
|
||||
|
||||
UTF8PRINTF(stderr,err,);
|
||||
|
||||
@@ -458,7 +458,7 @@ void Log::outErrorDb( const char * err, ... )
|
||||
}
|
||||
|
||||
if(m_colored)
|
||||
SetColor(false,m_colors[LOGL_ERROR]);
|
||||
SetColor(false,RED);
|
||||
|
||||
UTF8PRINTF(stderr,err,);
|
||||
|
||||
|
||||
@@ -54,7 +54,6 @@ enum LogTypes
|
||||
enum LogLevel
|
||||
{
|
||||
LOGL_NORMAL = 0,
|
||||
LOGL_ERROR,
|
||||
LOGL_BASIC,
|
||||
LOGL_DETAIL,
|
||||
LOGL_DEBUG
|
||||
|
||||
@@ -289,11 +289,11 @@ AddonChannel = 1
|
||||
# "" - Empty name for disable
|
||||
#
|
||||
# LogColors
|
||||
# Color for messages (format "normal error basic detail debug")
|
||||
# Color for messages (format "normal basic detail debug")
|
||||
# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY,
|
||||
# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
|
||||
# Default: "" - none colors
|
||||
# Example: "13 7 11 9 5"
|
||||
# Example: "13 11 9 5"
|
||||
#
|
||||
# EnableLogDB
|
||||
# Enable/disable logging to database (LogDatabaseInfo).
|
||||
|
||||
@@ -55,11 +55,11 @@ ConfVersion=2007062001
|
||||
# Default: 0
|
||||
#
|
||||
# LogColors
|
||||
# Color for messages (format "normal error basic detail debug")
|
||||
# Color for messages (format "normal basic detail debug")
|
||||
# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY,
|
||||
# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
|
||||
# Default: "" - none colors
|
||||
# Example: "13 7 11 9 5"
|
||||
# Example: "13 11 9 5"
|
||||
#
|
||||
# EnableLogDB
|
||||
# Enable/disable logging to database (LogDatabaseInfo).
|
||||
|
||||
Reference in New Issue
Block a user