static void logCurrentThreadTrace ( ) { ThreadTrace trace = getThreadTrace ( ) ; // New threads must call Tracer.initCurrentThreadTrace() before Tracer // statistics are gathered. This is a recent change (Jun 2007) that // prevents spurious Third Eye messages when an application uses a class in // a different package that happens to call Tracer without knowledge of the // application authors. if ( ! trace . isInitialized ( ) ) { logger . log ( Level . INFO , "Tracer log requested for this thread but was not " + "initialized using Tracer.initCurrentThreadTrace()." , new Throwable ( ) ) ; return ; } if ( ! trace . isEmpty ( ) ) { logger . log ( Level . INFO , "timers:\n{0}" , getCurrentThreadTraceReport ( ) ) ; } }
Logs a timer report similar to the one described in the class comment .