when there is no console, don't log