Exemple #1
0
 internal void WriteLogInternal(ServerLog log)
 {
     if (!cliHost.IsCLIBusy())
     {
         Console.WriteLine($"[{log.EventDate} {log.Type}]: {log.LogText}");
     }
     if (loggerWrapper != null)
     {
         lock (lckObj)
             loggerWrapper.Register(ref log);
     }
     log = null;
 }