Index

C E G L O S 
All Classes and Interfaces|All Packages

C

close() - Method in class org.jtrim2.logs.LogCollector
Removes the log handler the LogCollector uses and stops collecting logs.

E

extractThrowables(Class<? extends Throwable>, Throwable...) - Static method in class org.jtrim2.logs.LogCollector
Collects all the throwable extending the given class from the given Throwable instances.

G

getExceptions(Level) - Method in class org.jtrim2.logs.LogCollector
Returns all the exceptions attached to the collected log records having the specified log level.
getLogs() - Method in class org.jtrim2.logs.LogCollector
Returns all the collected logs.
getNumberOfLogs() - Method in class org.jtrim2.logs.LogCollector
Returns the number of log records collected.
getNumberOfLogs(Level) - Method in class org.jtrim2.logs.LogCollector
Returns the number of log records collected having the specified log level.

L

LogCollector - Class in org.jtrim2.logs
Defines a class which is able to collect logs written to a java.util.logging.Logger.

O

org.jtrim2.logs - package org.jtrim2.logs
Contains useful utility methods for logging (mostly for testing purposes).

S

startCollecting(String) - Static method in class org.jtrim2.logs.LogCollector
Creats a new LogCollector which immediately starts listening for logs passed to the specified logger.
C E G L O S 
All Classes and Interfaces|All Packages