library ray-gunolog
An abstract handler for monolog that connects to raygun.io
mead-steve/ray-gunolog
An abstract handler for monolog that connects to raygun.io
- Tuesday, June 9, 2015
- by MeadSteve
- Repository
- 1 Watchers
- 1 Stars
- 207 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
RayGunolog
Monolog Handler connection to raygun.io., (*1)
Build status
| branch |
status |
| master |
 |
Installation
Via Composer:
Add the following to your composer.json, (*2)
"require": {
"mead-steve/ray-gunolog": "^1.0.0"
}
Usage
$logger = new Monolog\Logger("Example");
$rayGunHandler = new \MeadSteve\RayGunolog\RayGunHandler(
new \Raygun4php\RaygunClient("YOUR_RAYGUN_KEY")
);
$logger->pushHandler($rayGunHandler);
// The following error will get sent automatically to RayGun
$logger->addError("oh no!", array('exception' => new \Exception("ohnoception")));
dev-master
9999999-dev
An abstract handler for monolog that connects to raygun.io
Sources
Download
MIT
The Development Requires
logging
monolog
error
raygun
v1.0.0
1.0.0.0
An abstract handler for monolog that connects to raygun.io
Sources
Download
MIT
The Development Requires
logging
monolog
error
raygun