plugin:sentry
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:sentry [2018-06-05 16:28] – grosse | plugin:sentry [2020-07-02 23:51] (current) – version upped andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action, helper | type : action, helper | ||
- | lastupdate : 2018-06-05 | + | lastupdate : 2020-07-02 |
compatible : Greebo | compatible : Greebo | ||
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : logging | + | tags : logging, devel |
downloadurl: | downloadurl: | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | [[http:// | + | [[https:// |
This plugin will log errors and exceptions in DokuWiki' | This plugin will log errors and exceptions in DokuWiki' | ||
Line 27: | Line 27: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
**Privacy Info:** when you install this plugin in a live wiki, you probably need to inform your users that their personal information (username, email, IP-Address, browser info) is logged to Sentry in case of an unforeseen error. Sentry also offers some detailed setting to configure how long personal data is retained. | **Privacy Info:** when you install this plugin in a live wiki, you probably need to inform your users that their personal information (username, email, IP-Address, browser info) is logged to Sentry in case of an unforeseen error. Sentry also offers some detailed setting to configure how long personal data is retained. | ||
Line 67: | Line 67: | ||
The helper plugin exposes some more public methods in case you need more control. | The helper plugin exposes some more public methods in case you need more control. | ||
+ | |||
+ | You can also use the following to log an arbitrary message and additional data. (Useful when debugging problems on a live server): | ||
+ | |||
+ | <code php> | ||
+ | $sentry = plugin_load(' | ||
+ | if($sentry) { | ||
+ | | ||
+ | } | ||
+ | </ | ||
==== JavaScript ==== | ==== JavaScript ==== |
plugin/sentry.1528208903.txt.gz · Last modified: 2018-06-05 16:28 by grosse