ccampbell/chromelogger

Faulty Backtrace printout

sandrobilbeisi opened this issue · 0 comments

Currently ( version 4.0.1 of ChromeLogger ), line 80 of log.js reads:

console.log('%c' + backtrace, 'color: ' + color1 + '; font-weight: bold;');

the %c is enclosed in single quotes and doesn't get interpreted correctly
it should be:

console.log("%c" + backtrace, 'color: ' + color1 + '; font-weight: bold;');