Catmandu::Fix::log
Log::Any logger as fix
- Provided by: libcatmandu-perl (Version: 0.9505-1)
- Report a bug
Log::Any logger as fix
log('test123');
log('hello world' , level => 'DEBUG');
This fix add debugging capabilities to fixes. To use it via the command line you need to add the '-D' option to your script. E.g.
echo '{}' | catmandu convert -D to YAML --fix 'log("help!", level =>WARN)'
Catmandu::Fix