Class LoggerFactory
- java.lang.Object
-
- org.junit.platform.commons.logging.LoggerFactory
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addListener(LogRecordListener listener)
Add the suppliedLogRecordListener
to the set of registered listeners.static Logger
getLogger(java.lang.Class<?> clazz)
Get aLogger
for the specified class.static void
removeListener(LogRecordListener listener)
Remove the suppliedLogRecordListener
from the set of registered listeners.
-
-
-
Method Detail
-
getLogger
public static Logger getLogger(java.lang.Class<?> clazz)
Get aLogger
for the specified class.- Parameters:
clazz
- the class for which to get the logger; nevernull
- Returns:
- the logger
-
addListener
public static void addListener(LogRecordListener listener)
Add the suppliedLogRecordListener
to the set of registered listeners.
-
removeListener
public static void removeListener(LogRecordListener listener)
Remove the suppliedLogRecordListener
from the set of registered listeners.
-
-