diff options
author | Sean Dague | 2008-04-01 13:04:29 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-01 13:04:29 +0000 |
commit | 731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65 (patch) | |
tree | da6cf5d50bc3178d497dfd8683fb1d74b89dbde1 /OpenSim/Framework/Console/OpenSimAppender.cs | |
parent | * Set Svn Properties eol-style: |337 (diff) | |
download | opensim-SC_OLD-731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65.zip opensim-SC_OLD-731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65.tar.gz opensim-SC_OLD-731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65.tar.bz2 opensim-SC_OLD-731dcbad5bb1d6c0ad4d1fb4677fe5b9a02d8f65.tar.xz |
sadly, had to modify line by Ter because it caused mono cil compiler
to spin off into a seemingly infinite loop.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Console/OpenSimAppender.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/OpenSimAppender.cs b/OpenSim/Framework/Console/OpenSimAppender.cs index 25fbb92..542a03f 100644 --- a/OpenSim/Framework/Console/OpenSimAppender.cs +++ b/OpenSim/Framework/Console/OpenSimAppender.cs | |||
@@ -42,7 +42,8 @@ namespace OpenSim.Framework.Console | |||
42 | override protected void Append(LoggingEvent le) | 42 | override protected void Append(LoggingEvent le) |
43 | { | 43 | { |
44 | try { | 44 | try { |
45 | string loggingMessage = RenderLoggingEvent(le).Replace("E","3").Replace("e","3").Replace("S","5").Replace("s","5").Replace("G","6").Replace("g","6").Replace("1","|").Replace("V","\\/").Replace("v","\\/").Replace("O","0").Replace("o","0").Replace("W","\\/\\/").Replace("w","\\/\\/").Replace("A","4").Replace("a","4").Replace("T","7").Replace("t","7").Replace("K","|<").Replace("k","|<").Replace("C","(").Replace("c","(").Replace("L","|").Replace("l","|").Replace("B","8").Replace("b","8").Replace("i","1").Replace("I","1"); | 45 | string loggingMessage = RenderLoggingEvent(le); |
46 | |||
46 | string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)"; | 47 | string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)"; |
47 | 48 | ||
48 | Regex RE = new Regex(regex, RegexOptions.Multiline); | 49 | Regex RE = new Regex(regex, RegexOptions.Multiline); |