- SEE ALSO
- COPYRIGHT AND LICENSE
Log::ger::Output::SimpleFile - Send logs to file
use Log::ger::Output 'SimpleFile' => ( path => '/path/to/file.log', # or handle => $fh ); use Log::ger; log_warn "blah ...";
This is a simple output to file. File will be opened with append mode. Filehandle will be flushed after each log. No locking, rotation, or other fancy features (see Log::ger::Output::File for that).
Specify filename to open. File will be opened in append mode.
Alternatively, you can provide an already opened filehandle.
This software is copyright (c) 2017 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.