Omtaler for ChromeLogger
ChromeLogger av BurningMoth
29 omtaler
- Vurdert til 5 ut av 5av skrymir01, 8 år sidenUpdated 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. - Vurdert til 4 ut av 5av Firefox-bruker 13497262, 8 år sidenIt works great after the workaround with chrome-logger.
- Vurdert til 1 ut av 5av Firefox-bruker 12958424, 8 år siden
- Vurdert til 1 ut av 5av Firefox-bruker 13461957, 8 år siden