svandragt / bugzscoutlogwriter
Log handler to send log events to FogBugz instance
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Open Issues: 0
Type:silverstripe-module
Requires
- silverstripe/framework: >=3.0
This package is not auto-updated.
Last update: 2020-02-03 04:30:11 UTC
README
A SilverStripe Log writer to send log events to a FogBugz instance using BugzScout.
What's great about it
Collect all errors, warnings and notices via FogBugz/BugzScout! One feature I like is that any issues are collated in one single ticket based on the subject.
What's BugzScout?
BugzScout is a simple API which allows you to send new bugs directly to FogBugz simply by submitting an HTTP POST request more info
What's Fogbugz?
FogBugz is an integrated web-based project management system featuring bug/issue tracking. more info
Setup
Add the following code to your mysite/_config.php, according to your setup
// Log writer
$writer = new BugzScoutLogWriter(array(
'host' => 'http://your.fogbugz.url',
'scoutUserName' => 'BugzScout',
'scoutProject' => 'Project',
'scoutArea' => 'Area' ,
));
SS_Log::add_writer($writer, SS_Log::NOTICE, '<=');
/dev/build, then test by doing a /dev/tasks/BugzScoutLogWriterTestTask. You might want to include the code only when Director::isLive()