|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
A log interface is used to log messages along with parameter data. A particular logging level may be specified for additional filtering capability. It provides a simple logger functionality as required by the ImperativeOCL::LogExp, which is intended the main client to this interface.
Field Summary | |
---|---|
static Log |
NULL_LOG
The null log instance, which has no real receiver of the
logged entries. |
Method Summary | |
---|---|
void |
log(int level,
java.lang.String message)
Logs a message at the specified logging level. |
void |
log(int level,
java.lang.String message,
java.lang.Object param)
Logs a message with additional parameter at the specified logging level. |
void |
log(java.lang.String message)
Logs a message. |
void |
log(java.lang.String message,
java.lang.Object param)
Logs a message with additional parameter. |
Field Detail |
---|
static final Log NULL_LOG
null
log instance, which has no real receiver of the
logged entries.
Method Detail |
---|
void log(int level, java.lang.String message, java.lang.Object param)
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedparam
- the parameter object to the messagevoid log(int level, java.lang.String message)
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedvoid log(java.lang.String message, java.lang.Object param)
message
- the textual message to be loggedparam
- the parameter object to the messagevoid log(java.lang.String message)
message
- the textual message to be logged
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |