Modifier and Type | Method | Description |
---|---|---|
static void |
addListener(LogRecordListener listener) |
Add the supplied
LogRecordListener to the set of registered
listeners. |
static Logger |
getLogger(java.lang.Class<?> clazz) |
Get a
Logger for the specified class. |
static void |
removeListener(LogRecordListener listener) |
Remove the supplied
LogRecordListener from the set of registered
listeners. |
public static Logger getLogger(java.lang.Class<?> clazz)
Logger
for the specified class.clazz
- the class for which to get the logger; never null
public static void addListener(LogRecordListener listener)
LogRecordListener
to the set of registered
listeners.public static void removeListener(LogRecordListener listener)
LogRecordListener
from the set of registered
listeners.