Skidder will drag your logs to where they need to go. A small, uniform and extensible logging library, implemented across major technologies.
"november-five/skidder": "*.*.*"
"repositories": [
{
"type": "vcs",
"url": "git@github.com:novemberfiveco/skidder-php.git"
}
],
new NovemberFive\SkidderBundle\NovemberFiveSkidderBundle()
If you want to add the user id of the logged user to monolog, please add the following to your monolog config in the config_prod.yml and config_stag.yml file.
This will use a formatter with an extra block at the end. This extra block is used by our custom listener that will append session info to the record.
monolog:
handlers:
main:
formatter: skidder.monolog.formatter
If you want to add a request id to the logs, please add the following to your config.yml file
skidder:
request_id_header: 'x-Request-ID'
The NewRelicPass will prevent Monolog from throwing fatal errors if the New Relic extension is not installed.
Monolog will no longer throw an exception but just return
.
2.0.0 (2021/08/17)
- Renamed bundle to Skidder
1.0.0 (2021/06/21)
- Initial version