File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/coverlet.core/Instrumentation
test/coverlet.core.tests/Instrumentation Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public bool CanInstrument()
76
76
}
77
77
else
78
78
{
79
- _logger . LogWarning ( $ "Unable to instrument module: { _module } , embedded pdb without local source files, [{ firstNotFoundDocument } ]") ;
79
+ _logger . LogVerbose ( $ "Unable to instrument module: { _module } , embedded pdb without local source files, [{ firstNotFoundDocument } ]") ;
80
80
return false ;
81
81
}
82
82
}
@@ -88,7 +88,7 @@ public bool CanInstrument()
88
88
}
89
89
else
90
90
{
91
- _logger . LogWarning ( $ "Unable to instrument module: { _module } , pdb without local source files, [{ firstNotFoundDocument } ]") ;
91
+ _logger . LogVerbose ( $ "Unable to instrument module: { _module } , pdb without local source files, [{ firstNotFoundDocument } ]") ;
92
92
return false ;
93
93
}
94
94
}
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ public void SkipEmbeddedPpdbWithoutLocalSource()
353
353
Assert . True ( _instrumentationHelper . HasPdb ( xunitDll , out bool embedded ) ) ;
354
354
Assert . True ( embedded ) ;
355
355
Assert . False ( instrumenter . CanInstrument ( ) ) ;
356
- loggerMock . Verify ( l => l . LogWarning ( It . IsAny < string > ( ) ) ) ;
356
+ loggerMock . Verify ( l => l . LogVerbose ( It . IsAny < string > ( ) ) ) ;
357
357
358
358
// Default case
359
359
string coverletCoreDll = Directory . GetFiles ( Directory . GetCurrentDirectory ( ) , "coverlet.core.dll" ) . First ( ) ;
@@ -380,7 +380,7 @@ public void SkipPpdbWithoutLocalSource()
380
380
Assert . True ( _instrumentationHelper . HasPdb ( coverletLib , out bool embedded ) ) ;
381
381
Assert . False ( embedded ) ;
382
382
Assert . False ( instrumenter . CanInstrument ( ) ) ;
383
- loggerMock . Verify ( l => l . LogWarning ( It . IsAny < string > ( ) ) ) ;
383
+ loggerMock . Verify ( l => l . LogVerbose ( It . IsAny < string > ( ) ) ) ;
384
384
}
385
385
386
386
[ Fact ]
You can’t perform that action at this time.
0 commit comments