Відгуки для ChromeLogger
ChromeLogger автор BurningMoth
29 відгуків
- Оцінка 5 з 5від skrymir01, 8 років томуUpdated Review:
Issue's been resolved and logs my messages like a champ.
Previous Review:
Produces error: TypeError: window.console[method] is undefined
The reason appears to be that it assumes the console method will be sent in the response. This will be the case for the all logging types _except_ "log". According to the Chrome Logger technical specifications at https://craig.is/writing/chrome-logger/techspecs, if you want to log, you should send an empty string (to save on size). Therefore the add-on ought to use "log" if "method" is empty. I believe the following would be sufficient to fix it:
console[method || 'log']
I couldn't find a repository to log this issue at or submit a pull request, so I had to use the review section. - Оцінка 4 з 5від Користувач Firefox 13497262, 8 років томуIt works great after the workaround with chrome-logger.
- Оцінка 1 з 5від Користувач Firefox 12958424, 8 років тому
- Оцінка 1 з 5від Користувач Firefox 13461957, 8 років тому