public class Log4jPrintStream
extends java.io.PrintStream
Constructor and Description |
---|
Log4jPrintStream(org.apache.log4j.Logger log,
org.apache.log4j.Level level)
Creates the Log4jPrintStream to flush to the given Category.
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
public Log4jPrintStream(org.apache.log4j.Logger log, org.apache.log4j.Level level) throws java.lang.IllegalArgumentException
log
- the Logger to write tolevel
- the Level to use when writing to the Loggerjava.lang.IllegalArgumentException
- if cat == null or priority ==
nullCopyright © 2001-2017 Jalios SA. All Rights Reserved.