Log::Any::Adapter::File(3pm) - phpMan

Command: man perldoc info search(apropos)  


Log::Any::Adapter::File(3pm)   User Contributed Perl Documentation   Log::Any::Adapter::File(3pm)

NAME
       Log::Any::Adapter::File - Simple adapter for logging to files

VERSION
       version 1.708

SYNOPSIS
           use Log::Any::Adapter ('File', '/path/to/file.log');

           # or

           use Log::Any::Adapter;
           ...
           Log::Any::Adapter->set('File', '/path/to/file.log');

           # with minimum level 'warn'

           use Log::Any::Adapter (
               'File', '/path/to/file.log', log_level => 'warn',
           );

DESCRIPTION
       This simple built-in Log::Any adapter logs each message to the specified file, with a
       datestamp prefix and newline appended. The file is opened for append with autoflush on.
       If "flock" is available, the handle will be locked when writing.

       The "log_level" attribute may be set to define a minimum level to log.

       The "binmode" attribute may be set to define a PerlIO layer string to use when opening the
       file.  The default is ":utf8".

       Category is ignored.

SEE ALSO
       Log::Any, Log::Any::Adapter

AUTHORS
       o   Jonathan Swartz <swartz AT pobox.com>

       o   David Golden <dagolden AT cpan.org>

       o   Doug Bell <preaction AT cpan.org>

       o   Daniel Pittman <daniel AT rimspace.net>

       o   Stephen Thirlwall <sdt AT cpan.org>

COPYRIGHT AND LICENSE
       This software is copyright (c) 2017 by Jonathan Swartz, David Golden, and Doug Bell.

       This is free software; you can redistribute it and/or modify it under the same terms as
       the Perl 5 programming language system itself.

perl v5.30.0                                2020-01-24               Log::Any::Adapter::File(3pm)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-05-23 09:45 @18.117.76.30 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!