public TestLogger(IRuntimeEnvironment runtimeEnv, bool debug = false) { var commandOutputProvider = new CommandOutputProvider(runtimeEnv); if (debug) { commandOutputProvider.LogLevel = LogLevel.Debug; } _commandOutputLogger = (CommandOutputLogger)commandOutputProvider.CreateLogger(""); }
public TestLogger(bool debug = false) { var commandOutputProvider = new CommandOutputProvider(); if (debug) { commandOutputProvider.LogLevel = LogLevel.Debug; } _commandOutputLogger = (CommandOutputLogger)commandOutputProvider.CreateLogger(""); }