PHPackages                             decahedron/monolog-sticky-context - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. decahedron/monolog-sticky-context

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

decahedron/monolog-sticky-context
=================================

1.1.0(5y ago)1098.3k↓63.5%2[2 issues](https://github.com/decahedronio/monolog-sticky-context/issues)2PHPCI failing

Since Aug 31Pushed 5y ago8 watchersCompare

[ Source](https://github.com/decahedronio/monolog-sticky-context)[ Packagist](https://packagist.org/packages/decahedron/monolog-sticky-context)[ RSS](/packages/decahedron-monolog-sticky-context/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (5)Dependencies (2)Versions (8)Used By (2)

Monolog Sticky Context Processor
================================

[](#monolog-sticky-context-processor)

The Sticky Context Processor is a Monolog processor that allows you to configure data that should always be attached to your log messages in the context data (the `extra`key on the log record).

This is similar to pushing a custom processor onto your Monolog Logger instance every time you want to attach context data to all log records. With a custom Monolog processor, it would look something like this:

```
