java.lang.Objectcomputational.LogManager
computational.TextLogManager
public class TextLogManager
Field Summary | |
---|---|
protected java.io.PrintWriter |
logStream
The stream on which to perform output. |
Fields inherited from class computational.LogManager |
---|
datingEnabled, loggingEnabled |
Constructor Summary | |
---|---|
TextLogManager(java.io.OutputStream out)
Constucts a new logging manager which outputs on the specified stream. |
Method Summary | |
---|---|
void |
log(java.lang.Object msg)
Logs the string representing the specified object on the predefined output stream. |
Methods inherited from class computational.LogManager |
---|
disableDating, disableLogging, enableDating, enableLogging |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.PrintWriter logStream
Constructor Detail |
---|
public TextLogManager(java.io.OutputStream out)
out
- the output stream on which to perform logging.Method Detail |
---|
public void log(java.lang.Object msg)
log
in class LogManager
msg
- the object to be logged.