public class LogManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addListener(LogListener listener)
Adds a log listener that will be notified of logging events.
|
static Logger |
getLogger(java.lang.Class<?> clazz)
Gets the
Logger instance of the specified class. |
static void |
removeListener(LogListener listener)
Remove a log listener.
|
public static Logger getLogger(java.lang.Class<?> clazz)
Logger instance of the specified class.clazz - the class, must not be null.public static void addListener(LogListener listener)
DefaultLogListener that prints logs to the standard output in a format similar to Log4j2listener - the listener.public static void removeListener(LogListener listener)
listener - the listener.