站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjava.io.Writer
      extended byjava.io.PrintWriter
          extended byorg.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

Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
LoggerPluginWriter(LoggerPlugin logger)
           
 
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
 

Constructor Detail

LoggerPluginWriter

public LoggerPluginWriter(LoggerPlugin logger)
Parameters:
logger - the logging plugin used to write messages


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.