Skip to content

Commit f25df1b

Browse files
committed
Add test for Logger.debug
Signed-off-by: Carolin Brandt <[email protected]>
1 parent d1d093b commit f25df1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fabric-chaincode-shim/src/test/java/org/hyperledger/fabric/LoggerTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,9 @@ public void testContractException() {
3636
logger.error(() -> "all gone wrong");
3737

3838
}
39+
40+
@Test
41+
public void testDebug() {
42+
Logger.getLogger(LoggerTest.class).debug("debug message");
43+
}
3944
}

0 commit comments

Comments
 (0)