Exemple #1
0
 public static void DebugMessage(ILogger <TLogger> logger, string message)
 {
     if (logger.IsEnabled(LogLevel.Debug))
     {
         AppLoggerTyped <TLogger> ._sendMessage(logger, message, null);
     }
 }
Exemple #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);
     }
 }
Exemple #3
0
 public static void TraceMessage(ILogger <TLogger> logger, string message) => AppLoggerTyped <TLogger> ._sendMessage(logger, message, null);
Exemple #4
0
 public static void TraceMessage(ILogger <TLogger> logger) => AppLoggerTyped <TLogger> ._sendFixedMessage(logger, null);