fluent-ffmpeg / node-fluent-ffmpeg

A fluent API to FFMPEG (http://www.ffmpeg.org)
MIT License
7.64k stars 874 forks source link

logger: debug is not defined #1149

Open lowcrawler opened 2 years ago

lowcrawler commented 2 years ago

Per this previous ticket: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/335 and per the documentation:

logger: logger object with debug(), info(), warn() and error() methods (defaults to no logging)

I should be able to log deeper issues in FFMPEG. Notably, I'm currently getting a rather opaque error "Conversion Failed". I'd like to get better error and logging optics here.

Is there any example code somewhere that would should how to use logger:debug?