private void OnLogNotification(LogNotificationLevel level, string message, Exception exception) { this.Level = level; this.Message = message; this.Exception = exception; }
public LogWatcher LevelIs(LogNotificationLevel level) { this.Level.Should().Be(level, "Level should be correct"); return(this); }