tyrex.util.logging
Class LoggerPrintWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
tyrex.util.logging.LoggerPrintWriter
- public final class LoggerPrintWriter
- extends java.io.PrintWriter
Print writer using a Log4J category. Connectors and other J2EE service
providers require a PrintWriter in order to log messages.
This object provides an implementation of PrintWriter that
logs the message to an underlying Log4J category.
- Version:
- $Revision: 1.1 $ $Date: 2004/05/06 06:04:41 $
- Author:
- Assaf Arkin
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerPrintWriter
public LoggerPrintWriter(Category category,
Priority priority)
- Constructs a new print writer using the underlying Log4J category.
- Parameters:
category
- A Log4J category to use for loggingpriority
- A Log4J priority, or null for the default
LoggerPrintWriter
public LoggerPrintWriter(Category category,
Priority priority,
boolean lineNumbers)
- Constructs a new print writer using the underlying Log4J category.
- Parameters:
category
- A Log4J category to use for loggingpriority
- A Log4J priority, or null for the defaultlineNumbers
- True if line numbers should be printed
println
public void println()
println
public void println(boolean value)
print
public void print(boolean value)
println
public void println(char value)
print
public void print(char value)
println
public void println(int value)
print
public void print(int value)
println
public void println(long value)
print
public void print(long value)
println
public void println(float value)
print
public void print(float value)
println
public void println(double value)
print
public void print(double value)
println
public void println(char[] value)
print
public void print(char[] value)
println
public void println(java.lang.String value)
print
public void print(java.lang.String value)
println
public void println(java.lang.Object value)
print
public void print(java.lang.Object value)
Original code is Copyright (c) 1999-2001, Intalio, Inc. All Rights Reserved. Contributions by MetaBoss team are Copyright (c) 2003-2005, Softaris Pty. Ltd. All Rights Reserved.