projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a1399
)
$::lxdebug->log_time optional text mitgeben.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 26 Sep 2011 14:26:12 +0000
(16:26 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 26 Sep 2011 14:26:12 +0000
(16:26 +0200)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
d01caa1
..
2f80cac
100644
(file)
--- a/
SL/LXDebug.pm
+++ b/
SL/LXDebug.pm
@@
-292,9
+292,9
@@
sub end_request {
}
sub log_time {
- my
$self = shift
;
+ my
($self, @slurp) = @_
;
return 1 unless want_request_timer();
- $self->_write("time", $self->get_request_time);
+ $self->_write("time", $self->get_request_time
() . (@slurp ? " (@slurp)" : '')
);
}
sub get_request_time {