         XCTAssertTrue(logStorageContent.contains("{buffered.e|aaa:1}"))
         XCTAssertTrue(logStorageContent.contains("{buffered.e|aaa:2}"))
         XCTAssertTrue(logStorageContent.contains("{buffered.f|aaa:3}"))
-
-        logger.logStore().clearAll()
-        logger.shutdown()
     }
 
     func testBufferedOutputPlugin_retry() {
-        let loggerConfiguration = PURLoggerStandardPluginTest.loggerConfiguration
-        let logger = PURLogger(configuration: loggerConfiguration)
-        let testLogStorage = loggerConfiguration.logStorage
-
         expectation(forNotification: Notification.Name.PURBufferedOutputDidStart.rawValue, object: nil, handler: nil)
         waitForExpectations(timeout: 1.0, handler: nil)
 

        // scheduled after 8sec
        waitForExpectations(timeout: 9.0, handler: nil)
        XCTAssertEqual(testLogStorage.description, "[error][error][error][error]")

        logger.logStore().clearAll()
        logger.shutdown()
    }
}

        logger.post(["ddd": "12345"], tag: "debug")

        XCTAssertEqual(testLogStorage.description, "[test.hoge|aaa:123][test.fuga|bbb:456,ccc:789]")
    }

    func testBufferedOutputPlugin_writeLog() {
        expectation(forNotification: Notification.Name.PURBufferedOutputDidStart.rawValue, object: nil, handler: nil)
        waitForExpectations(timeout: 1.0, handler: nil)

