sadly, had to modify line by Ter because it caused mono cil compiler

to spin off into a seemingly infinite loop.
0.6.0-stable
Sean Dague 2008-04-01 13:04:29 +00:00
parent a0a0229fdf
commit 731dcbad5b
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ namespace OpenSim.Framework.Console
override protected void Append(LoggingEvent le)
{
try {
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");
string loggingMessage = RenderLoggingEvent(le);
string regex = @"^(?<Front>.*?)\[(?<Category>[^\]]+)\]:?(?<End>.*)";
Regex RE = new Regex(regex, RegexOptions.Multiline);