public LogLevel GetLogLevel() { var logger = ServiceRegistration.Get <ILogger>(); ILoggerConfig loggerConfig = logger as ILoggerConfig; return(loggerConfig != null?loggerConfig.GetLogLevel() : LogLevel.Information); }
public LogLevel GetLogLevel() { ILoggerConfig loggerConfig = _logger as ILoggerConfig; return(loggerConfig != null?loggerConfig.GetLogLevel() : LogLevel.Information); }
/// <summary> /// Retrieve log level /// </summary> /// <returns></returns> internal static LogLevel GetLogLevel() { ILoggerConfig config = ServiceRegistration.Get <ILoggerConfig>(); return(config != null?config.GetLogLevel() : LogLevel.Information); }