public class StopwatchLogger extends Object implements Closeable
Clock.Fast
for speeding up the operation.Constructor and Description |
---|
StopwatchLogger(Class<?> clazz)
instantiate a class with the provided class
|
StopwatchLogger(org.slf4j.Logger customLog,
Class<?> clazz)
Instantiate a class with the provided class and custom logger.
|
StopwatchLogger(org.slf4j.Logger customLog,
String clazz)
Instantiate a class with the provided class and custom logger.
|
StopwatchLogger(String clazz)
Create a class with the provided class.
|
public StopwatchLogger(String clazz)
claz
- public StopwatchLogger(Class<?> clazz)
clazz
- public StopwatchLogger(org.slf4j.Logger customLog, Class<?> clazz)
customLog
- clazz
- public StopwatchLogger(org.slf4j.Logger customLog, String clazz)
customLog
- clazz
- public void start()
public void split(String message)
message
- public void stop(String message)
message
- public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public boolean isStarted()
public boolean isEnabled()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"