freebsd-ports/devel/p5-Mojo-Log-Clearable/pkg-plist
Jimmy Olgeni ff57d9fddd devel/p5-Mojo-Log-Clearable: Add new port
Mojo::Log is a simple logger class. It holds a filehandle once it writes to
a log, and changing "path" in Mojo::Log does not open a new filehandle for
logging.

Mojo::Log::Role::Clearable is a role that provides a "clear_handle" method
and automatically calls it when "path" in Mojo::Log is modified, so the logging
handle is reopened at the new path. The "clear_handle" method can also be used
to reopen the logging handle after log rotation.

This new Perl module is useful for anyone who wants to use Mojo::Log and also
needs automatic log file rotation.

WWW: https://metacpan.org/release/Mojo-Log-Clearable
2023-04-24 10:36:03 +02:00

4 lines
165 B
Text

%%SITE_PERL%%/Mojo/Log/Clearable.pm
%%SITE_PERL%%/Mojo/Log/Role/Clearable.pm
%%PERL5_MAN3%%/Mojo::Log::Clearable.3.gz
%%PERL5_MAN3%%/Mojo::Log::Role::Clearable.3.gz