![]() |
![]()
| ![]() |
![]()
NAMELog::Agent::Tag::Callback - a dynamic tag string SYNOPSISrequire Log::Agent::Tag::Callback; # Inherits from Log::Agent::Tag. my $tag = Log::Agent::Tag::Callback->make( -name => "session id", -callback => Callback->new($obj, 'method', @args), -postfix => 1, -separator => " -- ", ); DESCRIPTIONThis class represents a dynamic tag string, whose value is determined by invoking a pre-determined callback, which is described by a "Callback" object. You need to make your application depend on the "Callback" module from CPAN if you make use of this tagging feature, since "Log::Agent" does not depend on it, on purpose (it does not really use it, it only offers an interface to plug it in). At least version 1.02 must be used. CREATION ROUTINE PARAMETERSThe following parameters are defined, in alphabetical order:
AUTHORRaphael Manfredi <Raphael_Manfredi@pobox.com> SEE ALSOCallback(3), Log::Agent::Tag(3), Log::Agent::Message(3).
|