当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
LoggerPluginWriter (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.logging.util
Class LoggerPluginWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
org.jboss.logging.util.LoggerPluginWriter
- public class LoggerPluginWriter
- extends PrintWriter
A subclass of PrintWriter that redirects its output to a LoggerPlugin at
INFO level. The only usecase for this is legacy java apis which require
integration with the logging layer through a Writer.
- Version:
- $Revision: 1.2 $
- Author:
- David Jencks, Scott.Stark@jboss.org
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggerPluginWriter
public LoggerPluginWriter(LoggerPlugin logger)
- Parameters:
logger
- the logging plugin used to write messages
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.