Download the PHP package sympress/monolog-bundle without Composer
On this page you can find all versions of the php package sympress/monolog-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sympress/monolog-bundle
More information about sympress/monolog-bundle
Files in sympress/monolog-bundle
Package monolog-bundle
Short Description Monolog integration bundle for the WordPress kernel.
License GPL-2.0-or-later
Informations about the package monolog-bundle
SymPress Monolog Bundle
Monolog integration bundle for SymPress WordPress kernel applications.
The package provides a Composer-powered WordPress MU plugin that registers a Monolog logger, channel loggers, configurable handlers, processors, and WordPress-specific logging hooks through the SymPress kernel service container.
Installation
The package requires PHP 8.5, sympress/kernel, monolog/monolog, and
psr/log.
Features
- Default PSR-3 logger service exposed as
loggerandPsr\Log\LoggerInterface - Channel logger support through
monolog.loggertags and Monolog attributes - Configurable handlers for stream, rotating file, fingers crossed, grouped, filtered, console, mail, syslog, socket, Slack webhook, and related Monolog handler types
- Handler-to-channel routing with inclusive and exclusive channel rules
- Tagged processor registration with handler or channel targeting
- WordPress runtime context processor
- Kernel throwable, WordPress database, and HTTP API logging hooks
- Profiler bridge that forwards buffered Monolog records to SymPress Profiler
Usage
When the SymPress kernel discovers the package, it registers
SymPress\MonologBundle\MonologBundle and loads
monolog-bundle/monolog-bundle.php as the MU plugin entry point.
Configuration
The package ships with a default stream handler and a profiler buffer handler. Project configuration can override handlers and channels through the Monolog extension.
Services can request channel-specific loggers by using Monolog's
WithMonologChannel attribute or the monolog.logger service tag.
See docs/handlers.md for the supported handler types,
required keys, defaults, and generated service IDs.
Development
Use composer cs:fix to apply automatic style fixes.
License
This package is licensed under GPL-2.0-or-later.
All versions of monolog-bundle with dependencies
sympress/kernel Version dev-main
monolog/monolog Version ^3.0
psr/log Version ^3.0