Kazuhiro Sera > Log-Facile-0.02 > Log::Facile

Download:
Log-Facile-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.02   Source   Latest Release: Log-Facile-1.03

NAME ^

Log::Facile - Perl extension for facile logging

SYNOPSIS ^

  use Log::Facile;

  my $logger = Log::Facile->new("tmp.log");
  $logger->info('Log::Facile instance created!');
  $logger->debug('flag off');
  $logger->error('error occurred! detail.......');

  $logger->set('debug_flag', 1);
  $logger->debug('flag on');

This sample puts following logging.

  2008/08/25 01:01:49 [INFO] Log::Facile instance created!
  2008/08/25 01:01:49 [ERROR] error occurred! detail.......
  2008/08/25 01:01:49 [DEBUG] flag on

DESCRIPTION ^

Log::Facile provides so facile logging that is intended for personal tools.

TODO

log swapping, more tests.

AUTHOR ^

Kazuhiro Sera, <webmaster@seratch.ath.cx>

COPYRIGHT AND LICENSE ^

Copyright (C) 2008 by Kazuhiro Sera

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.