NAME

Log::Abstraction::Backend::File - append messages to a file

VERSION

0.40

DESCRIPTION

Built for logger => $path, a top-level file, or the file key of a logger hash. Each message is formatted (with the backend's format, or else the logger's) and appended to the file, which is opened for each message. The path is checked, and the file rotated, by Log::Abstraction.

For use by Log::Abstraction only; see Log::Abstraction::Backend.

METHODS

emit

$backend->emit($logger, $event);

AUTHOR

Nigel Horne njh@nigelhorne.com

SEE ALSO

Log::Abstraction, Log::Abstraction::Backend

COPYRIGHT AND LICENSE

Copyright (C) 2025-2026 Nigel Horne

Usage is subject to the GPL2 licence terms. If you use it, please let me know.