silverstripe-module silverstripe-backstop
Helps log non-200 errors
heyday/silverstripe-backstop
Helps log non-200 errors
- Thursday, April 30, 2015
- by heyday
- Repository
- 24 Watchers
- 4 Stars
- 13,630 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 4 Versions
- 5 % Grown
SilverStripe Backstop
, (*1)
Logging for responses with status codes 400-500, (*2)
Installation (with composer)
$ composer require heyday/silverstripe-backstop:dev-master
Usage
- Create a config file in your
mysite
, e.g. "mysite/_config/logging.yml"
-
Set up a PSR-3
logger service and add to the Backstop
constructor, (*3)
Injector:
Monolog:
class: Monolog\Logger
constructor:
0: App
1:
- '%$StreamHandler'
StreamHandler:
class: Monolog\Handler\StreamHandler
constructor:
0: '../../error.log'
Backstop:
class: Heyday\Backstop\Backstop
constructor:
0: '%$Monolog'
Unit testing
$ composer install --dev
$ vendor/bin/phpunit
License
SilverStripe Backstop is released under the MIT license, (*4)
dev-master
9999999-dev
Helps log non-200 errors
Sources
Download
The Requires
The Development Requires
0.1.2
0.1.2.0
Helps log non-200 errors
Sources
Download
The Requires
The Development Requires
0.1.1
0.1.1.0
Helps log non-200 errors
Sources
Download
The Requires
The Development Requires
0.1.0
0.1.0.0
Helps log non-200 errors
Sources
Download
The Requires
The Development Requires