public class GuiceStatsTracker
extends java.lang.Object
Stopwatch). In order to
intercept these messages, append custom handler to this logger, but just for injector creation time.| Constructor and Description |
|---|
GuiceStatsTracker() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getMessages() |
void |
injectLogsInterceptor()
Cut off guice logger from parent handlers and add individual handler to intercept log messages.
|
void |
resetStatsLogger()
After injector creation reset logger back to parent handler.
|
public void injectLogsInterceptor()
public void resetStatsLogger()
public java.util.List<java.lang.String> getMessages()