Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Devel::Events::Filter:UsermContributed Perl DocDevel::Events::Filter::Stamp(3)

NAME
       Devel::Events::Filter::Stamp - Add time/context stamping	to events

VERSION
       version 0.09

SYNOPSIS
	       use Devel::Events::Filter::Stamp;

	       my $filter = Devel::Events::Filter::Stamp->new(
		       handler => $handler,
	       );

	       Generator::Blah->new( handler =>	$filter	);

DESCRIPTION
       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.

METHODS
       filter_event @event
	   Prepends the	output of "stamp_data" to @event

       stamp_data
	   Returns the new fields, as detailed in "STAMP DATA"

STAMP DATA
       time
	   A fractional	timestamp, from	Time::HiRes.

	   Suitable for	passing	to DateTime unaltered. Other modules may
	   require application of "int".

       pid The value of	$$

       thread_id
	   Only	included if threads are	in use.

	   The current thread ID.

SUPPORT
       Bugs may	be submitted through the RT bug	tracker
       <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Events>	(or
       bug-Devel-Events@rt.cpan.org <mailto:bug-Devel-Events@rt.cpan.org>).

AUTHOR
       XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

COPYRIGHT AND LICENCE
       This software is	copyright (c) 2007 by XXXX XXX'XX (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.

perl v5.32.0			  2018-03-27   Devel::Events::Filter::Stamp(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | STAMP DATA | SUPPORT | AUTHOR | COPYRIGHT AND LICENCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Devel::Events::Filter::Stamp&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help