The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Log::Any::Adapter::Daemontools - Logging adapter suitable for use in a Daemontools-style logging chain

VERSION

version 0.0000_00

DESCRIPTION

This is a small simple module that writes logging messages to STDERR, prefixing each line with an identifier like "error: ", "warning: ", etc.

For the Debug and Trace log levels, it additionally wraps the message with an eval {}, and converts any non-scalar message parts into strings using Data::Dumper or similar. This allows debug messages to dump objects without worry that the stringification would cause a fatal exception.

All other log levels are considered "important" such that you want the exception if they fail, and arguments are converted to strings howver they normally would if you tried printing them, on the assumption that if you print an object in the course of normal logging then you probably want the natural stringification for that type of object.

AUTHOR

Michael Conrad <mike@nrdvana.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Michael Conrad.

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