The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.