103 |
- |
1 |
# Utilities
|
|
|
2 |
|
|
|
3 |
- _Registry_: The `Monolog\Registry` class lets you configure global loggers that you
|
|
|
4 |
can then statically access from anywhere. It is not really a best practice but can
|
|
|
5 |
help in some older codebases or for ease of use.
|
|
|
6 |
- _ErrorHandler_: The `Monolog\ErrorHandler` class allows you to easily register
|
|
|
7 |
a Logger instance as an exception handler, error handler or fatal error handler.
|
|
|
8 |
- _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log
|
|
|
9 |
level is reached.
|
|
|
10 |
- _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain
|
|
|
11 |
log level is reached, depending on which channel received the log record.
|
|
|
12 |
|
|
|
13 |
← [Handlers, Formatters and Processors](02-handlers-formatters-processors.md) | [Extending Monolog](04-extending.md) →
|