public LoggerCommandAuditor( ILoggerFactory loggerFactory, ILogLevelProvider logLevelProvider) { _normalLogLevel = logLevelProvider.NormalLogLevel; _executionFailureLogLevel = logLevelProvider.ExecutionFailureLogLevel; _logger = loggerFactory.CreateLogger <LoggerCommandAuditor>(); }
public ConsoleLogger(ILogLevelProvider logLevelProvider) { _logLevelProvider = logLevelProvider; Console.WriteLine("WARNING: Using Console Logging can be detrimental to performance"); }