Devel::Events::Filter::Stamp - Add time/context stamping to events
version 0.09
use Devel::Events::Filter::Stamp; my $filter = Devel::Events::Filter::Stamp->new( handler => $handler, ); Generator::Blah->new( handler => $filter );
This event filter will add timing and context information to the event.
The parameters are prepended so that upon hash assignment the event generator will get precedence.
Prepends the output of stamp_data
to @event
Returns the new fields, as detailed in "STAMP DATA"
A fractional timestamp, from Time::HiRes.
Suitable for passing to DateTime unaltered. Other modules may require application of int
.
The value of $$
Only included if threads are in use.
The current thread ID.
Bugs may be submitted through the RT bug tracker (or bug-Devel-Events@rt.cpan.org).
יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
This software is copyright (c) 2007 by יובל קוג'מן (Yuval Kogman).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.