[slf4j-dev] [Bug 123] [SLF4J-EXT] Profiler doesn' t convert times to secondes when not stopped.

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Jul 20 19:37:36 CEST 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=123





--- Comment #2 from Ceki Gulcu <listid at qos.ch>  2009-07-20 19:37:36 ---
The idea is that a Profiler needs to be stopped before it can be printed. You
write: myProfiler.stop().print();

We could change the API so that print() implicitly calls stop(). Writing
myProfiler.print() would be equivalent to myProfiler.stop().print().

It's a relatively small change. However, I am not sure if it would not cause as
much or more confusion as the current approach. 


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list