Exemplo n.º 1
0
 public void WriteLog(LogMessageEntry entry)
 {
     lock (_textLock)
     {
         _text.Append(entry.TimeStamp);
         _text.Append(entry.LevelString);
         _text.Append(entry.Message);
     }
 }
 public void WriteLog(LogMessageEntry entry)
 {
     HConsole.WriteLine(this, $"{entry.TimeStamp}{entry.LevelString}{entry.Message}");
 }
        public void WriteLog(LogMessageEntry entry)
        {
#if HZ_CONSOLE
            HConsole.WriteLine(this, $"{entry.TimeStamp}{entry.LevelString}{entry.Message.TrimEnd('\r', '\n')}");
#endif
        }