the name onError is confusing. 

The API you want to expose is `dust.log`... the callback `dust.onError` IMO is for folks to override the logic of what happens when you log an error.