Пример #1
0
 /// <summary>
 /// Logs the warning message to the logger
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="message">the message to log</param>
 public static void LogWarning(this IReadonlyEnvironmentConfiguration configuration, object message)
 {
     configuration.Log(LogLevel.Warning, message);
 }
Пример #2
0
 /// <summary>
 /// Logs the fatal message to the logger
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="message">the message to log</param>
 public static void LogFatal(this IReadonlyEnvironmentConfiguration configuration, object message)
 {
     configuration.Log(LogLevel.Fatal, message);
 }
Пример #3
0
 /// <summary>
 /// Logs the information message to the logger
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="message">the message to log</param>
 public static void LogInformation(this IReadonlyEnvironmentConfiguration configuration, object message)
 {
     configuration.Log(LogLevel.Information, message);
 }