Updating ILogger descendants for interface change.
This commit is contained in:
parent
8eb8cc1154
commit
0f9e232759
|
|
@ -93,6 +93,21 @@ namespace Microsoft.AspNet.Hosting
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public IDisposable BeginScope(object state)
|
||||||
|
{
|
||||||
|
return NullScope.Instance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private class NullScope : IDisposable
|
||||||
|
{
|
||||||
|
public static NullScope Instance = new NullScope();
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// intentionally does nothing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue