net.codesmarts.log4j
Class BugReportRunner

java.lang.Object
  extended bynet.codesmarts.log4j.BugReportRunner
All Implemented Interfaces:
java.lang.Runnable

public class BugReportRunner
extends java.lang.Object
implements java.lang.Runnable

Wrapper class used to call append on a BugReport appender it a separate thread

Author:
Fred McCann

Constructor Summary
BugReportRunner(BugReportAppender appender, BugReport report)
          Create a new runner
 
Method Summary
 void run()
          Call append(BugReport) on the appender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BugReportRunner

public BugReportRunner(BugReportAppender appender,
                       BugReport report)
Create a new runner

Parameters:
appender - The appender to call
report - The report to file
Method Detail

run

public void run()
Call append(BugReport) on the appender

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()


Copyright © 2005 CodeSmarts. All Rights Reserved.