public ScriptConsoleLogger(LogLevel consoleLogLevel, IConsole console, Common.Logging.ILog log)
        {
            Guard.AgainstNullArgument("console", console);
            Guard.AgainstNullArgument("log", log);

            _consoleLogLevel = consoleLogLevel;
            _console = console;
            _log = log;
        }
Example #2
0
        public ScriptConsoleLogger(LogLevel consoleLogLevel, IConsole console, ILog log)
        {
            Guard.AgainstNullArgument("console", console);
            Guard.AgainstNullArgument("log", log);

            _consoleLogLevel = consoleLogLevel;
            _console         = console;
            _log             = log;
        }
Example #3
0
 public LoggerConfigurator(LogLevel logLevel)
 {
     _logLevel = logLevel;
 }
Example #4
0
 public IScriptServicesBuilder LogLevel(LogLevel level)
 {
     _logLevel = level;
     return(this);
 }
Example #5
0
 public LoggerConfigurator(LogLevel logLevel)
 {
     _logLevel = logLevel;
 }