|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogEvent
An interface which all loggable events must implement. CMS comes with a limited set of ILogEvent types to implement: audit, system, and signed audit. This is the base class of all the subsequent implemented types. A log event represents a certain kind of log message designed for a specific purpose. For instance, an audit type event represents messages having to do with auditable CMS actions. The resulting message will ultimately appear into a specific log file.
Method Summary | |
---|---|
java.lang.String |
getEventType()
Retrieves log event type. |
int |
getLevel()
Retrieves log level. |
boolean |
getMultiline()
Retrieves multiline attribute. |
int |
getNTEventType()
Retrieves NT specific log event type. |
int |
getSource()
Retrieves log source. |
long |
getTimeStamp()
Retrieves event time stamp. |
void |
setEventType(java.lang.String eventType)
Sets log event type. |
java.lang.String |
toContent()
Returns localized message string. |
java.lang.String |
toContent(java.util.Locale locale)
Returns the string based on the given locale. |
Method Detail |
---|
long getTimeStamp()
int getSource()
int getLevel()
int getNTEventType()
boolean getMultiline()
java.lang.String getEventType()
void setEventType(java.lang.String eventType)
eventType
- String containing the type of event.java.lang.String toContent()
java.lang.String toContent(java.util.Locale locale)
locale
- locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |