fix the default logger for the browser