java.lang.Object
org.junit.platform.commons.logging.LoggerFactory
Factory for the
Logger
facade for JUL.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addListener(LogRecordListener listener)
Add the suppliedLogRecordListener
to the set of registered listeners.static Logger
Get aLogger
for the specified class.static void
removeListener(LogRecordListener listener)
Remove the suppliedLogRecordListener
from the set of registered listeners.
-
Method Details
-
getLogger
Get aLogger
for the specified class.- Parameters:
clazz
- the class for which to get the logger; nevernull
- Returns:
- the logger
-
addListener
Add the suppliedLogRecordListener
to the set of registered listeners. -
removeListener
Remove the suppliedLogRecordListener
from the set of registered listeners.
-