public void CallsErrorIfLevelIsError()
        {
            var consoleLogger = new TestLogger(LogLevel.Error);
            consoleLogger.Error("Test");

            Assert.NotEmpty(consoleLogger.GetLogEvents(LogLevel.Error));
        }
        public void WillNotCallErrorIfLevelIsHigher()
        {
            var consoleLogger = new TestLogger(LogLevel.None);
            consoleLogger.Error("Test");

            Assert.Empty(consoleLogger.GetLogEvents(LogLevel.Error));
        }