falling back to an noop function

if the built in log function of dust core is not accessible the logging
method is replaced by a noop to stay backwards compatible