Exemplo n.º 1
0
 public void Warn(string message, params object[] argument)
 {
     this.Write(LogEventInfoBuilder.Create(LogLevel.Warn, message, argument).WithCategory(this.Name).WithTimeStamp(DateTimeOffset.Now));
 }
Exemplo n.º 2
0
 public void Trace(Exception exception, string message, params object[] argument)
 {
     this.Write(LogEventInfoBuilder.Create(LogLevel.Trace, message, argument, exception).WithCategory(this.Name).WithTimeStamp(DateTimeOffset.Now));
 }