org.jomc.tools
Class JomcTool.Listener
java.lang.Object
org.jomc.tools.JomcTool.Listener
- Enclosing class:
- JomcTool
public abstract static class JomcTool.Listener
- extends Object
Listener interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JomcTool.Listener
public JomcTool.Listener()
- Creates a new
Listener
instance.
onLog
public void onLog(Level level,
String message,
Throwable throwable)
- Gets called on logging.
- Parameters:
level
- The level of the event.message
- The message of the event or null
.throwable
- The throwable of the event or null
.
- Throws:
NullPointerException
- if level
is null
.
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.