NAME

Egg::Plugin::Log - Plugin concerning log.

SYNOPSIS

  use Egg qw/ Log /;

  $e->log->notes(' ... ');
  $e->log->debug(' ... ');
  $e->log->error(' ... ');

DESCRIPTION

It is a plug-in that offers the function concerning the log.

If $e->config->{log_file} is set, the log is preserved.

* The log is always only added. It is necessary to prepare another means to rotate.

METHODS

log

The handler object of this plug-in is returned.

HANDLER METHODS

new

Constructor.

notes

The log is written. 'Notes' adheres to the header.

debug

The log is written. 'Debug' adheres to the header.

error

The log is written. 'Error' adheres to the header.

It outputs it to STDERR at the same time.

SEE ALSO

Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.

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.6 or, at your option, any later version of Perl 5 you may have available.