CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net
Class CacheFactory.LoggingWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by com.tangosol.net.CacheFactory.LoggingWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable
Enclosing class:
CacheFactory

public static class CacheFactory.LoggingWriter
extends PrintWriter

Inner class for over-riding the destination of log(), out() and err() calls on the Base class.


Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
CacheFactory.LoggingWriter(int nSev)
          Construct a PrintWriter that logs using the CacheFactory.log(java.lang.String, int) method.
 
Method Summary
 void println()
          Log the accumulated String using the logging severity that this PrintWriter was configured with.
 
Methods inherited from class java.io.PrintWriter
append, append, append, append, append, append, append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 

Constructor Detail

CacheFactory.LoggingWriter

public CacheFactory.LoggingWriter(int nSev)
Construct a PrintWriter that logs using the CacheFactory.log(java.lang.String, int) method.

Parameters:
nSev - the severity to log messages with
Method Detail

println

public void println()
Log the accumulated String using the logging severity that this PrintWriter was configured with.

Overrides:
println in class PrintWriter

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation