Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Class Base.LoggingWriter

    java.lang.Object
      java.io.Writer
          java.io.PrintWriter
              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, 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

### 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`

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.