Esempio n. 1
0
 /// <summary>
 /// Write a log event with the specified level and associated exception.
 /// </summary>
 /// <param name="seriLogEventLevel"></param>
 /// <param name="exception"></param>
 /// <param name="messageTemplate"></param>
 /// <param name="propertyValues"></param>
 public void Write(SeriLogEventLevel seriLogEventLevel, Exception exception, string messageTemplate, params object[] propertyValues)
 => _logger.Write((LogEventLevel)seriLogEventLevel, exception, messageTemplate, propertyValues);
Esempio n. 2
0
 /// <summary>
 /// Write a log event with the specified level.
 /// </summary>
 /// <param name="seriLogEventLevel"></param>
 /// <param name="exception"></param>
 /// <param name="messageTemplate"></param>
 public void Write(SeriLogEventLevel seriLogEventLevel, Exception exception, string messageTemplate)
 => _logger.Write((LogEventLevel)seriLogEventLevel, exception, messageTemplate);