Package rma.util.logging
Class OutputStreamLogger
java.lang.Object
java.io.OutputStream
rma.util.logging.OutputStreamLogger
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
This is an output stream that will print to a logger upon a line separator.
It will also attempt to find the correct log site for the wrapping class.
The intended use is redirecting System.out to FluentLogger on the CWMS Servers.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an OutputStreamLogger assuming that the wrapping class is PrintStream -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write
-
Constructor Details
-
OutputStreamLogger
public OutputStreamLogger()Create an OutputStreamLogger assuming that the wrapping class is PrintStream
-
-
Method Details
-
write
public void write(int b) - Specified by:
write
in classOutputStream
-