Public Member Functions | |
CollectingLogger (String name, String resourceBundleName) | |
void | produceLogs1 (int number) |
Private Member Functions | |
void | sleep (long millis) |
LogRecord
s produced by calls to the various log methods. This can be used to generate valid LogRecords for unit tests.
|
Don't use this ctor directly! Instead, use LogRecordCollectingLogger#getCollectingLogger(java.lang.String, java.lang.Class), passing
|
|
Produces a sequence of LogRecords which can be obtained in getCollectedLogRecords(). Output is limited by the
|
|
|