     }
 
     func testOneDualLevelLogger() {
-        let infoLogger = TestLogger([.info, .debug])
+        let infoAndDebugLogger = TestLogger([.info, .debug])
         
         log.info(in: .view, "not yet configured")
-        XCTAssertEqual(infoLogger.last, "Nothing logged")
+        XCTAssertEqual(infoAndDebugLogger.last, "Nothing logged")
         
-        LogCentral.loggers = [infoLogger.logger]
+        LogCentral.loggers = [infoAndDebugLogger]
         
         log.info(in: .view, "first log")
-        XCTAssertEqual(infoLogger.last, "[info] first log")
+        XCTAssertEqual(infoAndDebugLogger.last, "[info] first log")
         
         log.debug(in: .view, "second log")
-        XCTAssertEqual(infoLogger.last, "[debug] second log")
+        XCTAssertEqual(infoAndDebugLogger.last, "[debug] second log")
     }
-
+    
     func throwser() throws {
         throw TestError.test
     }

    case test
}

class TestLogger {
    let levels: [LogLevel]
    var lastLog: (level: LogLevel, message: String)?
    var lastError: Error?
    

        log.info(in: .view, "not yet configured")
        XCTAssertEqual(testLogger.last, "Nothing logged")
        
        LogCentral.loggers = [testLogger]
        
        log.info(in: .view, "first log")
        XCTAssertEqual(testLogger.last, "[info] first log")
