net.codesmarts.log4j
Class BugReport

java.lang.Object
  extended bynet.codesmarts.log4j.BugReport

public class BugReport
extends java.lang.Object

This class represents a list of logging events and a semiunique key as an atomic bug repot

Author:
Fred McCann

Constructor Summary
BugReport(java.util.List events, int method)
          Create a new bug report.
 
Method Summary
 java.util.List getEvents()
          Return the list of logging events contained in this report
 java.lang.String getKey()
          Return the semiunique hash value of this report
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BugReport

public BugReport(java.util.List events,
                 int method)
Create a new bug report. This constructor removes items from a watcher thread's buffer

Parameters:
events - a list of Log4j LoggingEvents
Method Detail

getEvents

public java.util.List getEvents()
Return the list of logging events contained in this report

Returns:
Returns the events.

getKey

public java.lang.String getKey()
Return the semiunique hash value of this report

Returns:
Returns the key.


Copyright © 2005 CodeSmarts. All Rights Reserved.