Convert log(debug, ...) to debug!(...)