private static void RawLog(LogEventKind kind, LogSource source, Exception exception, String message, Object[] items) { if (Handler is null) { return; } var li = new LogInformation { Kind = kind, Source = source, Timestamp = new TimeSpan(DateTime.UtcNow.Ticks), Message = message, Exception = exception, Items = items, }; Handler.Enqueue(li); }
public abstract void Log(LogInformation info);
public override void Log(LogInformation info) { this.OnLog.Invoke(info); }