1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Move POSIX signal handling to SignalHandler*

Suggested by Helmut Hummel (@helhum).
This commit is contained in:
Robert Gust-Bardon
2018-07-01 23:42:41 -05:00
parent 23fd84fec0
commit 37b587687d
5 changed files with 407 additions and 355 deletions

View File

@@ -4,8 +4,9 @@
can then statically access from anywhere. It is not really a best practice but can
help in some older codebases or for ease of use.
- _ErrorHandler_: The `Monolog\ErrorHandler` class allows you to easily register
a Logger instance as an exception handler, error handler, fatal error handler or
signal handler.
a Logger instance as an exception handler, error handler or fatal error handler.
- _SignalHandler_: The `Monolog\SignalHandler` class allows you to easily register
a Logger instance as a POSIX signal handler.
- _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log
level is reached.
- _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain