js2watchdog

Component ID

1171812

Component name

js2watchdog

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1771

Component created

Component changed

Component body

Simply utility which allows to log JS errors information (script, line, error message), or your custom messages to watchdog.
Will be usefull to running on both devep and production server to debug your scripts.


Tips:

  • it will be usefull to grant 'log js errors' permission to all roles, to collect more information about you errors;
  • you could call js2watchdog.woof(param) function from your script to push message from JS to watchdog (format of param is url-like string - "key=value&key2=value", no need of starting and ending amps);