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

Register signal handlers

This commit is contained in:
Robert Gust-Bardon
2018-02-22 11:16:36 -06:00
parent fd8c787753
commit cf979844dc
3 changed files with 347 additions and 3 deletions

View File

@@ -4,7 +4,8 @@
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 or fatal error handler.
a Logger instance as an exception handler, error handler, fatal error handler or
signal handler.
- _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log
level is reached.
- _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain