DEBUG logging only if 'debug' is first argument