org.jomc.modlet
Class ModelContext.Listener
java.lang.Object
org.jomc.modlet.ModelContext.Listener
- Enclosing class:
- ModelContext
public abstract static class ModelContext.Listener
- extends Object
Listener interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelContext.Listener
public ModelContext.Listener()
- Creates a new
Listener
instance.
onLog
public void onLog(Level level,
String message,
Throwable t)
- Gets called on logging.
- Parameters:
level
- The level of the event.message
- The message of the event or null
.t
- 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.