- Read
docs/handlers.mdbefore changing handler configuration. src/DependencyInjection/MonologExtension.phpnormalizes config and builds handler services.src/Compiler/wires channels, processors, and configured aliases.Resources/config/services.yamlowns default services, handlers, formatters, and WordPress hooks.
- Fast behavior check:
composer tests. - Full required check:
composer qa. - Handler/config changes need a compile-and-behavior case in
MonologExtensionTest.
- Preserve
monolog.handler.<name>, configured-handler aliases, channel inclusion/exclusion, priority, and nested-handler semantics. - Wrapper handlers reference
handler; group handlers referencemembers. Keep nested handlers out of root logger stacks. - Preserve the default
logger/Psr\Log\LoggerInterfacealiases and tagged channel/processor behavior. - Sanitize and normalize context before exposing it to profiler output.
sympress_profiler_log_entriesis a cross-repository filter contract withsympress/profiler.
- The kernel discovers
MonologBundleandmonolog-bundle/monolog-bundle.phpthroughextra.kernel. - A change is done when the relevant DI/handler test and
composer qapass anddocs/handlers.mdremains exact.