Skip to content
Permalink
Browse files

Don't log colour codes to logfile on disc

  • Loading branch information...
UnknownShadow200 committed May 29, 2017
1 parent 3906c8f commit 8c651588c8aefb5f6618c02efacae4e0cce9734b
Showing with 2 additions and 0 deletions.
  1. +2 −0 fCraft/System/Logger.cs
@@ -115,6 +115,8 @@ public static class Logger {
}
}
if( !Enabled ) return;

message = Color.StripColors( message, true );
string line = DateTime.Now.ToString( TimeFormat ) + " > " + GetPrefix( type ) + message; // localized

lock( LogLock ) {

0 comments on commit 8c65158

Please sign in to comment.
You can’t perform that action at this time.