|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogEventFactory
An interface represents a log event factory. This factory will be responsible for creating and returning ILogEvent objects on demand.
Method Summary | |
---|---|
ILogEvent |
create(int evtClass,
java.util.Properties prop,
int source,
int level,
boolean multiline,
java.lang.String msg,
java.lang.Object[] params)
Creates an event of a particular event type/class. |
void |
release(ILogEvent event)
Releases previously created event. |
Method Detail |
---|
ILogEvent create(int evtClass, java.util.Properties prop, int source, int level, boolean multiline, java.lang.String msg, java.lang.Object[] params)
evtClass
- The event type.prop
- The resource bundle.source
- The subsystem ID who creates the log event.level
- The severity of the log event.multiline
- The log message has more than one line or not.msg
- The detail message of the log.params
- The parameters in the detail log message.
void release(ILogEvent event)
event
- The log event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |