let's make dust.log forward compatible with deprecating dust.onError by having it do the error logic inside of log