Created the toggleable window logger.