NAME
Log::Abstraction::Backend::LogDispatch - send messages on to Log::Dispatch
VERSION
0.40
DESCRIPTION
Built for the log_dispatch key of a logger hash, or a Log::Dispatch object as the logger. Calls its log() method with the level (warn becomes warning, and trace, which Log::Dispatch doesn't have, debug) and the message with the structured fields as key=value text, or with a format the formatted line. If Log::Dispatch dies, it carps.
Nothing is sent while a message is already being forwarded (see $Log::Abstraction::Backend::FORWARDING).
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.