|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.etrice.generator.base.Logger
public class Logger
a simple logger class implementing the ILineOutputLogger interface.
If no ILineOutputLogger is set then output is sent to System.out.
| Constructor Summary | |
|---|---|
Logger()
|
|
| Method Summary | |
|---|---|
void |
logError(java.lang.String text,
EObject obj)
|
void |
logInfo(java.lang.String text)
|
void |
setOutput(ILineOutput lo)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Logger()
| Method Detail |
|---|
public void logInfo(java.lang.String text)
logInfo in interface ILoggertext - informational text
public void logError(java.lang.String text,
EObject obj)
logError in interface ILoggertext - error textobj - EObject (if available) where the error occurredpublic void setOutput(ILineOutput lo)
setOutput in interface ILineOutputLoggerlo - a line output to be used by the logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||