add $log.debug

Let me add debug logs. It was very useful to create this patch https://github.com/muddydixon/fluent-plugin-anomalydetect/pull/3/files.