Log::Any::Adapter::Fille - Advanced adapter for logging to files
use Log::Any::Adapter ('Fille', file => '/path/to/file.log');
Log::Any::Adapter->set('Fille', file => '/path/to/file.log');
# with minimum level 'warn'
use Log::Any::Adapter (
'Fille', file => '/path/to/file.log', log_level => 'warn',
Adapter Log::Any::Adapter::Fille is intended for logging messages to the file. Behavior of this adapter resembles simple built-in adapter behavior Log::Any::Adapter::File, but differs from it in several details.
The log_level attribute may be set to define a minimum level to log.
Category is ignored.
Adapter Fille registers logs in advanced format <date> <time> <PID> <log_level> <message>, unlike built-in adapter File, which registers logs in simple format <localtime> <message>.
<date> <time> <PID> <log_level> <message>
At the same time:
Fille represents date and time in ISO 8601 format, including microseconds
File represents date in built-in Perl format without microseconds
Fille registers PID and log_level
File does not register them
Fille correctly processes messages containing wide character
File displays warning 'Wide character in print at ...'
Example of a log Fille:
2015-06-02 17:50:50.894774 16315 WARNING Some message
Example of a log File:
[Tue Jun 2 17:50:50 2015] Some message
Mikhail Ivanov <email@example.com>
Anastasia Zherebtsova <firstname.lastname@example.org> - translation of documentation into English
This software is copyright (c) 2015 by Mikhail Ivanov.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Log::Any::Adapter::Fille, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.