diff options
Diffstat (limited to 'OpenSim/Framework/Console/OpenSimAppender.cs')
-rw-r--r-- | OpenSim/Framework/Console/OpenSimAppender.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs index 72a251e..39a550b 100644 --- a/OpenSim/Framework/Console/OpenSimAppender.cs +++ b/OpenSim/Framework/Console/OpenSimAppender.cs | |||
@@ -55,12 +55,14 @@ namespace OpenSim.Framework.Console | |||
55 | { | 55 | { |
56 | if (m_console != null) | 56 | if (m_console != null) |
57 | { | 57 | { |
58 | string level = "normal"; | 58 | ConsoleLevel level; |
59 | 59 | ||
60 | if (le.Level == Level.Error) | 60 | if (le.Level == Level.Error) |
61 | level = "error"; | 61 | level = "error"; |
62 | else if (le.Level == Level.Warn) | 62 | else if (le.Level == Level.Warn) |
63 | level = "warn"; | 63 | level = "warn"; |
64 | else | ||
65 | level = "normal"; | ||
64 | 66 | ||
65 | m_console.Output(loggingMessage, level); | 67 | m_console.Output(loggingMessage, level); |
66 | } | 68 | } |