private static ILogger GetLogger(OptionsBase opts) { var loggerConfiguration = new SimpleConsoleLoggerConfiguration( minimumLogLevel: opts.Verbose ? LogLevel.Debug : LogLevel.Information, showCategoryName: false, enabledColoredOutput: true); return(new SimpleConsoleLogger(loggerConfiguration, "")); }
private static ConfigurationProvider GetConfigurationProvider(OptionsBase commandlineParameters) => new ConfigurationProvider(commandlineParameters.ConfigurationFilePath ?? "", commandlineParameters);