Minor: Don't print end message if profiler was muted
This commit is contained in:
@@ -137,7 +137,7 @@ public class Profiler {
|
|||||||
paused = true;
|
paused = true;
|
||||||
cumulative = 0;
|
cumulative = 0;
|
||||||
|
|
||||||
if (log.isDebugEnabled()) {
|
if (!mute && log.isDebugEnabled()) {
|
||||||
OUT_LOCK.lock();
|
OUT_LOCK.lock();
|
||||||
try {
|
try {
|
||||||
println(name, " took ", format(result));
|
println(name, " took ", format(result));
|
||||||
|
|||||||
Reference in New Issue
Block a user