This method takes the same set of parameters as Log::Dispatch::File::new(),
with the following differences:
|log_message( message => $ )||Sends a message to the appropriate output. Generally this shouldnt be called directly but should be called through the log() method (in Log::Dispatch::Output).|
Assuming the current date and time is:
% perl -e print scalar localtime Sat Feb 8 13:56:13 2003 Log::Dispatch::File::Stamped->new( name => file, min_level => debug, filename => logfile.txt, );
This will log to file logfile-20030208.txt.
Log::Dispatch::File::Stamped->new( name => file, min_level => debug, filename => logfile.txt, stamp_fmt => %d%H, );
This will log to file logfile-0813.txt.
Dave Rolsky, author of the Log::Dispatch suite and many other fine modules on CPAN.
This module was rewritten to respect all present (and future) options to Log::Dispatch::File by Karen Etheridge, <firstname.lastname@example.org>.
o Eric Cholet <email@example.com> o Karen Etheridge <firstname.lastname@example.org>
This software is copyright (c) 2013 by Karen Etheridge.
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.20.3||LOG::DISPATCH::FILE::STAMPED (3)||2013-06-17|