public class EventLogger extends java.lang.Object implements ClientEventListener
Constructor and Description |
---|
EventLogger(Logger.LogLevel prio,
boolean removeWithProducer) |
Modifier and Type | Method and Description |
---|---|
void |
receive(ClientEvent ce,
ClientContext context)
Logs an event
|
public EventLogger(Logger.LogLevel prio, boolean removeWithProducer)
public void receive(ClientEvent ce, ClientContext context)
receive
in interface ClientEventListener
ce
- The event that occuredcontext
- The database context the event was generated in.
NOTE THAT IT MAY NOT HAVE BEEN GENERATED IN A DATABASE CONTEXT AT ALL:
In this case, container will be null, and you should use context to schedule a DBJob.