Revision c90d3558
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/LXDebug.pm | ||
---|---|---|
292 | 292 |
} |
293 | 293 |
|
294 | 294 |
sub log_time { |
295 |
my $self = shift;
|
|
295 |
my ($self, @slurp) = @_;
|
|
296 | 296 |
return 1 unless want_request_timer(); |
297 |
$self->_write("time", $self->get_request_time); |
|
297 |
$self->_write("time", $self->get_request_time() . (@slurp ? " (@slurp)" : ''));
|
|
298 | 298 |
} |
299 | 299 |
|
300 | 300 |
sub get_request_time { |
Auch abrufbar als: Unified diff
$::lxdebug->log_time optional text mitgeben.