Output colorful log for console and browser.