Ubuntu Manpages

Catmandu::Fix::log

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