public string FormatLogRecord(LogRecord record)
 {
     return($"{record.Timestamp:O} [{record.LogLevel}] [{record.ThreadId}] {{{record.LoggerName}}} {record.Message}"
            + (record.Details == null ? String.Empty : $" : {record.Details}"));
 }
Exemplo n.º 2
0
 public LogRecordEventArgs(LogRecord record)
 {
     Record = record;
 }