public class PerfLogger extends Object
This class differs from TreeLogger
by providing an interface more suitable for metrics-oriented logging.
Performance logging can be enabled by setting the system property,
gwt.perflog=true
.
Constructor and Description |
---|
PerfLogger() |
Modifier and Type | Method and Description |
---|---|
static void |
end()
Ends the current timing.
|
static void |
log(String message)
Logs a message without explicitly including timer information.
|
static void |
start(String message)
Starts a new timing corresponding to
message . |
public static void end()
public static void log(String message)
message
- a not null
messageCopyright © 2018. All rights reserved.