A logger that can be displayed on the page and/or in the console.