public class StopwatchLogger
extends java.lang.Object
implements java.io.Closeable
Clock.Fast for speeding up the operation.| Constructor and Description |
|---|
StopwatchLogger(java.lang.Class<?> clazz)
instantiate a class with the provided class
|
StopwatchLogger(org.slf4j.Logger customLog,
java.lang.Class<?> clazz)
Instantiate a class with the provided class and custom logger.
|
StopwatchLogger(org.slf4j.Logger customLog,
java.lang.String clazz)
Instantiate a class with the provided class and custom logger.
|
StopwatchLogger(java.lang.String clazz)
Create a class with the provided class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isEnabled() |
boolean |
isStarted() |
void |
split(java.lang.String message)
track of an intermediate time without stopping the ticking.
|
void |
start()
starts the clock
|
void |
stop(java.lang.String message)
track the time and stop the clock.
|
public StopwatchLogger(java.lang.String clazz)
claz - public StopwatchLogger(java.lang.Class<?> clazz)
clazz - public StopwatchLogger(org.slf4j.Logger customLog,
java.lang.Class<?> clazz)
customLog - clazz - public StopwatchLogger(org.slf4j.Logger customLog,
java.lang.String clazz)
customLog - clazz - public void start()
public void split(java.lang.String message)
message - public void stop(java.lang.String message)
message - public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic boolean isStarted()
public boolean isEnabled()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"