public Log(TextWriter?writer, LogLevel requestedLogLevel, Stopwatch stopwatch, TimestampCache timestampCache, string projectPath, ITelemetryService telemetryService) { _writer = writer; _requestedLogLevel = requestedLogLevel; _stopwatch = stopwatch; _timestampCache = timestampCache; _telemetryService = telemetryService; _fileName = Path.GetFileNameWithoutExtension(projectPath); }
public Log(TextWriter writer, LogLevel requestedLogLevel, Stopwatch stopwatch, TimestampCache timestampCache, string projectPath, ITelemetryService telemetryService, UpToDateCheckConfiguredInput upToDateCheckConfiguredInput) { _writer = writer; Level = requestedLogLevel; _stopwatch = stopwatch; _timestampCache = timestampCache; _telemetryService = telemetryService; _upToDateCheckConfiguredInput = upToDateCheckConfiguredInput; _fileName = Path.GetFileNameWithoutExtension(projectPath); }