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 enableTrace(String name)
          Enable trace for a logger category
 void setUp()
          Setup the logging
 
Methods inherited from class org.jboss.test.logging.LoggingPlugin
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

enableTrace

public void enableTrace(String name)
Description copied from class: LoggingPlugin
Enable trace for a logger category

Overrides:
enableTrace in class LoggingPlugin
Parameters:
name - the name of the category

setUp

public void setUp()
           throws Exception
Description copied from class: LoggingPlugin
Setup the logging

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.