org.jboss.test.logging
Class Log4jConsoleLoggingPlugin
java.lang.Object
org.jboss.test.logging.LoggingPlugin
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
Method Summary |
void |
setUp()
XLevel deprecated since EAP 4
public void enableTrace(String name)
{
Logger.getLogger(name).setLevel(XLevel.TRACE);
} |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jConsoleLoggingPlugin
public Log4jConsoleLoggingPlugin()
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.