Package org.eclipse.m2m.qvt.oml.util
Interface Log
-
- All Known Implementing Classes:
StringBufferLog,WriterLog
public interface LogA 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.- Since:
- 2.0
- Author:
- dvorak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlog(int level, String message)Logs a message at the specified logging level.voidlog(int level, String message, Object param)Logs a message with additional parameter at the specified logging level.voidlog(String message)Logs a message.voidlog(String message, Object param)Logs a message with additional parameter.
-
-
-
Field Detail
-
NULL_LOG
static final Log NULL_LOG
Thenulllog instance, which has no real receiver of the logged entries.
-
-
Method Detail
-
log
void log(int level, String message, Object param)Logs a message with additional parameter at the specified logging level.- Parameters:
level- the level value to which the resulting log record should applymessage- the textual message to be loggedparam- the parameter object to the message
-
log
void log(int level, String message)Logs a message at the specified logging level.- Parameters:
level- the level value to which the resulting log record should applymessage- the textual message to be logged
-
log
void log(String message, Object param)
Logs a message with additional parameter.- Parameters:
message- the textual message to be loggedparam- the parameter object to the message
-
log
void log(String message)
Logs a message.- Parameters:
message- the textual message to be logged
-
-