alma::acs::logging::CollectingLogger Class Reference

Inheritance diagram for alma::acs::logging::CollectingLogger:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logging::CollectingLogger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CollectingLogger (String name, String resourceBundleName)
void produceLogs1 (int number)

Private Member Functions

void sleep (long millis)

Detailed Description

Creates a Logger that collects all LogRecords produced by calls to the various log methods. This can be used to generate valid LogRecords for unit tests.

Author:
hsommer created Apr 20, 2005 2:30:47 PM

Constructor & Destructor Documentation

alma::acs::logging::CollectingLogger::CollectingLogger ( String  name,
String  resourceBundleName 
) [inline]

Don't use this ctor directly! Instead, use LogRecordCollectingLogger#getCollectingLogger(java.lang.String, java.lang.Class), passing CollectingLogger.class as the second argument. (This is some experiment, so don't ask why...)

Parameters:
name 
resourceBundleName 

Member Function Documentation

void alma::acs::logging::CollectingLogger::produceLogs1 ( int  number  )  [inline]
void alma::acs::logging::CollectingLogger::sleep ( long  millis  )  [inline, private]

Referenced by produceLogs1().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2