
Public Member Functions | |
| void | log (LogRecord record) |
| LogRecord[] | getCollectedLogRecords () |
| void | clearLogRecords () |
| void | suppressLogs (boolean suppressLogs) |
| void | setDelegateLogger (Logger delegate) |
Static Public Member Functions | |
| synchronized LogRecordCollectingLogger | getCollectingLogger (String name) |
| synchronized< T extends LogRecordCollectingLogger > T | getCollectingLogger (String name, Class< T > loggerClass) |
Protected Member Functions | |
| LogRecordCollectingLogger (String name, String resourceBundleName) | |
Private Attributes | |
| List< LogRecord > | logRecordList = Collections.synchronizedList(new ArrayList<LogRecord>()) |
| boolean | suppressLogs = false |
| Logger | delegate |
LogRecords produced by calls to the various log methods. This can be used to verify log messages in a pure JUnit environment, without the need to use TAT reference files.
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Here we intercept all logging activities of the base class.
|
|
|
|
|
|
Switches real logging off/on. Logging will only happen if a real logger has been provided.
|
|
|
|
|
|
|
|
|
|
1.3.8