JBoss Test 1.1.9.GA-redhat-2

org.jboss.test.logging
Class Log4jConsoleLoggingPlugin

java.lang.Object
  extended by org.jboss.test.logging.LoggingPlugin
      extended by org.jboss.test.logging.Log4jConsoleLoggingPlugin

public class Log4jConsoleLoggingPlugin
extends LoggingPlugin

A LoggingPlugin that configures a console log4j appender without looking for any configuration resources.

Version:
$Revision:$
Author:
Scott.Stark@jboss.org

Constructor Summary
Log4jConsoleLoggingPlugin()
           
 
Method Summary
 void setUp()
          XLevel deprecated since EAP 4 public void enableTrace(String name) { Logger.getLogger(name).setLevel(XLevel.TRACE); }
 
Methods inherited from class org.jboss.test.logging.LoggingPlugin
enableTrace, getInstance, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jConsoleLoggingPlugin

public Log4jConsoleLoggingPlugin()
Method Detail

setUp

public void setUp()
           throws Exception
XLevel deprecated since EAP 4 public void enableTrace(String name) { Logger.getLogger(name).setLevel(XLevel.TRACE); }

Overrides:
setUp in class LoggingPlugin
Throws:
Exception - for any error

JBoss Test 1.1.9.GA-redhat-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.