org.caleigo.toolkit.log
Class StreamLogReceiver
java.lang.Object
org.caleigo.toolkit.log.AbstractLogReceiver
org.caleigo.toolkit.log.StreamLogReceiver
- All Implemented Interfaces:
- ILogReceiver
- public class StreamLogReceiver
- extends AbstractLogReceiver
The StreamLogSubscriber provides logging to OutputStreams and Writers.
Subsequently it can used for loggings to both the console and files.
- Version:
- 1.00
- Author:
- Dennis Zikovic
Method Summary |
void |
close()
|
protected void |
logString(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamLogReceiver
public StreamLogReceiver()
- Default constructor for DefaultLogSubscriber.
StreamLogReceiver
public StreamLogReceiver(java.io.OutputStream output)
StreamLogReceiver
public StreamLogReceiver(java.io.Writer output)
StreamLogReceiver
public StreamLogReceiver(java.lang.String fileName)
throws java.io.IOException
logString
protected void logString(java.lang.String msg)
- Specified by:
logString
in class AbstractLogReceiver
close
public void close()
- Specified by:
close
in interface ILogReceiver
- Overrides:
close
in class AbstractLogReceiver
Copyright © 2005 Caleigo. All Rights Reserved.