public static void CouldNotOpenSocket(global::Microsoft.Extensions.Logging.ILogger logger, string hostName) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __CouldNotOpenSocketCallback(logger, hostName, null); } }
public static void FourArgumentsLog(global::Microsoft.Extensions.Logging.ILogger logger, string hostName, DateTime now, decimal amount, bool flag) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { _FourArgumentsCallback(logger, hostName, now, amount, flag, null); } }
public MicrosoftLogger(global::Microsoft.Extensions.Logging.ILogger logger) { _logger = logger; for (int i = 0; i < _levelsList.Length; i++) { if (_logger.IsEnabled(_levelsList[i])) { LogLevel = Convert(_levelsList[i]); break; } } }