public final class PerformanceLog extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PerformanceLog.PerformanceStopWatch
This class
|
| Constructor and Description |
|---|
PerformanceLog() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.log4j.Logger |
getInstance()
This method returns an instance of the logger object.
|
static void |
logDuration(String message,
long duration)
This method logs the duration information for a given message.
|
static PerformanceLog.PerformanceStopWatch |
startTimer(String message)
This method returns a new stop watch instance.
|
public PerformanceLog()
public static org.apache.log4j.Logger getInstance()
public static PerformanceLog.PerformanceStopWatch startTimer(String message)
message - public static void logDuration(String message, long duration)
message - duration - Copyright © 2005–2015 The Kuali Foundation. All rights reserved.