|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--torero.util.Logger
The logging component for torero. It provides an errorStream and an outStream for logging error and info messages.
Constructor Summary | |
Logger()
|
Method Summary | |
static void |
execAddAttrib(String scope,
String attribname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execAddAttrib(Symbol scope,
Attribute attrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execAddSource(AttributeAssingnment scope,
Production.ListElement srcLe,
Attribute srcAttrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execAddSource(String scope,
String srcLeName,
String srcAttribName)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execAddTaversal(Production scope,
Traversal trav)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execAddTaversal(String scope,
String travname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execDelAttrib(String attribname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execDelTraversal(String traversalname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execLoadYacc(File file)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execLoadYacc(String filename)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execNewAttrib(String attribname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execNewTraversal(String traversalname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execObtainAss(Production scope,
Production.ListElement destLe,
Attribute destAttrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execObtainAss(Production scope,
Production.ListElement destLe,
Attribute destAttrib,
Production.ListElement srcLe,
Attribute srcAttrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execObtainAss(String scope,
String destLeName,
String destAttribName)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemAttrib(String scope,
String attribname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemAttrib(Symbol scope,
Attribute attrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemSource(AttributeAssingnment scope,
AttributeAssingnment.AttribKey srcAk)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemSource(AttributeAssingnment scope,
Production.ListElement srcLe,
Attribute srcAttrib)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemSource(String scope,
String srcLeName,
String srcAttribName)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemTaversal(Production scope,
Traversal trav)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execRemTaversal(String scope,
String travname)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execSaveJPG(File file)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execSaveJPG(String filename)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execSaveOx(File file)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
execSaveOx(String filename)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static int |
getDebugLevel()
Get the actual debug level. |
static PrintStream |
getErrorStream()
Get errorstream class for logging info messages. |
static PrintStream |
getOutStream()
Get outstream class for logging info messages. |
static void |
recordErrorBegin()
Starts a session where all text written to the errorStream is recorded. |
static String |
recordErrorEnd()
Ends a recording session and returns all recorded text. |
static void |
saveSession(File file)
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
static void |
setDebugLevel(int level)
Set's the debuglevel. |
static void |
startSession()
For session logging inside Torero (should replace saving and loading of serialized grammars in future), not finished yet. |
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 static void setDebugLevel(int level)
level=0:
- nothing is logged, level=1: only error messages are logged, level=2: all messages (error and info) are logged.public static int getDebugLevel()
public static PrintStream getOutStream()
public static PrintStream getErrorStream()
public static void recordErrorBegin()
public static String recordErrorEnd()
public static void startSession()
public static void saveSession(File file)
public static void execLoadYacc(File file)
public static void execLoadYacc(String filename)
public static void execSaveOx(File file)
public static void execSaveOx(String filename)
public static void execSaveJPG(File file)
public static void execSaveJPG(String filename)
public static void execNewAttrib(String attribname)
public static void execNewTraversal(String traversalname)
public static void execDelAttrib(String attribname)
public static void execDelTraversal(String traversalname)
public static void execAddAttrib(Symbol scope, Attribute attrib)
public static void execAddAttrib(String scope, String attribname)
public static void execRemAttrib(Symbol scope, Attribute attrib)
public static void execRemAttrib(String scope, String attribname)
public static void execAddTaversal(Production scope, Traversal trav)
public static void execAddTaversal(String scope, String travname)
public static void execRemTaversal(Production scope, Traversal trav)
public static void execRemTaversal(String scope, String travname)
public static void execObtainAss(Production scope, Production.ListElement destLe, Attribute destAttrib) throws ModelException
public static void execObtainAss(Production scope, Production.ListElement destLe, Attribute destAttrib, Production.ListElement srcLe, Attribute srcAttrib) throws ModelException
public static void execObtainAss(String scope, String destLeName, String destAttribName)
public static void execAddSource(AttributeAssingnment scope, Production.ListElement srcLe, Attribute srcAttrib) throws ModelException
public static void execAddSource(String scope, String srcLeName, String srcAttribName)
public static void execRemSource(AttributeAssingnment scope, AttributeAssingnment.AttribKey srcAk)
public static void execRemSource(AttributeAssingnment scope, Production.ListElement srcLe, Attribute srcAttrib)
public static void execRemSource(String scope, String srcLeName, String srcAttribName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |