|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.qvt.oml.util.WriterLog
public class WriterLog
A basic logger backed-up with Writer
.
Field Summary |
---|
Fields inherited from interface org.eclipse.m2m.qvt.oml.util.Log |
---|
NULL_LOG |
Constructor Summary | |
---|---|
WriterLog(java.io.Writer writer)
Constructs a log for the given writer object. |
Method Summary | |
---|---|
protected java.io.Writer |
getWriter()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriterLog(java.io.Writer writer)
writer
- the writer object to receive the log record data
java.lang.IllegalArgumentException
- if the passed writer
is null
Method Detail |
---|
protected final java.io.Writer getWriter()
public void log(int level, java.lang.String message, java.lang.Object param)
Log
log
in interface Log
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedparam
- the parameter object to the messagepublic void log(int level, java.lang.String message)
Log
log
in interface Log
level
- the level value to which the resulting log record should applymessage
- the textual message to be loggedpublic void log(java.lang.String message, java.lang.Object param)
Log
log
in interface Log
message
- the textual message to be loggedparam
- the parameter object to the messagepublic void log(java.lang.String message)
Log
log
in interface Log
message
- the textual message to be logged
|
Copyright 2008 Borland Software Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |