Пример #1
0
 public static void DebugMessage(ILogger <TLogger> logger, string message)
 {
     if (logger.IsEnabled(LogLevel.Debug))
     {
         AppLoggerTyped <TLogger> ._sendMessage(logger, message, null);
     }
 }
Пример #2
0
 public static void TraceMessage(ILogger <TLogger> logger, string message, int value)
 {
     if (logger.IsEnabled(LogLevel.Trace))
     {
         AppLoggerTyped <TLogger> ._sendMessageWithInfo(logger, message, value, null);
     }
 }
Пример #3
0
 public static void TraceMessage(ILogger <TLogger> logger, string message) => AppLoggerTyped <TLogger> ._sendMessage(logger, message, null);
Пример #4
0
 public static void TraceMessage(ILogger <TLogger> logger) => AppLoggerTyped <TLogger> ._sendFixedMessage(logger, null);