Refactoring ILogger, see aspnet/Logging#3

`var scope = Assert.Single(sink.Scopes);` is equivalent