Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.1.0

E18814-01


com.tangosol.util
Class Base.LoggingWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by com.tangosol.util.Base.LoggingWriter

All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
Enclosing class:
Base

public static class Base.LoggingWriter
extends java.io.PrintWriter

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


Field Summary

 

Fields inherited from class java.io.PrintWriter
out

 

Fields inherited from class java.io.Writer
lock

 

Constructor Summary
Base.LoggingWriter(int nSev)
          Construct a PrintWriter that logs using the CacheFactory#log 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, 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

Base.LoggingWriter

public Base.LoggingWriter(int nSev)
Construct a PrintWriter that logs using the CacheFactory#log 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 java.io.PrintWriter

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.1.0

E18814-01


Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.