NAME
Log::Abstraction::Backend::Code - call a code reference with each message
VERSION
0.40
DESCRIPTION
Built for logger => \&code. The code is called with { class, file, line, level, message, ctx, fields }, where message is an array reference of the message's parts, and ctx and fields are only present when set.
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.