NAME

Log::Abstraction::Backend::Sendmail - email messages

VERSION

0.40

DESCRIPTION

Built for the sendmail key of a logger hash. Each message (or, with a format, the formatted line) is emailed, unless min_interval seconds have not passed since the last email; then it is dropped, or with digest held for the next email. Log::Abstraction does the sending and holds the throttle and digest state, which flush() also uses.

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.