From f25df1b65d033eff1078745f39a91bab36a4b589 Mon Sep 17 00:00:00 2001 From: Carolin Brandt Date: Thu, 9 Jun 2022 10:52:01 +0200 Subject: [PATCH] Add test for Logger.debug Signed-off-by: Carolin Brandt --- .../src/test/java/org/hyperledger/fabric/LoggerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java b/fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java index b913c8d6..3d500c8d 100644 --- a/fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java +++ b/fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java @@ -36,4 +36,9 @@ public void testContractException() { logger.error(() -> "all gone wrong"); } + + @Test + public void testDebug() { + Logger.getLogger(LoggerTest.class).debug("debug message"); + } }