set the log function used when the caller did not provide one
function to log the module not found message
set the log function used when the caller did not provide one