public class PerformanceLogger extends Object
Modifier and Type | Method and Description |
---|---|
static PerformanceLogger |
getInstance() |
void |
log(String step,
long time)
log performance information with step.
|
void |
log(String step,
String action,
long time)
log performance information with step and action.
|
void |
log(String step,
String action,
String task,
long time)
log performance information with step, action and task.
|
public void log(String step, String action, String task, long time)
step
- name of the stepaction
- name of the actiontask
- optional, use to log a treatment or a part of treatmenttime
- duration of the treatmentpublic void log(String step, String action, long time)
step
- name of the stepaction
- name of the actiontime
- duration of the treatmentpublic void log(String step, long time)
step
- name of the steptime
- duration of the treatmentpublic static PerformanceLogger getInstance()
PerformanceLogger
Copyright © 2018 Vitam. All rights reserved.