Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 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);
 }