Nicolas Steenlant > Catmandu > Catmandu::Fix::log

Download:
Catmandu-0.94.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Catmandu::Fix::log - Log::Any logger as fix

SYNOPSIS ^

  log('test123');

  log('hello world' , level => 'DEBUG');

DESCRIPTION ^

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)'

SEE ALSO ^

Catmandu::Fix

syntax highlighting: