PHP Classes

File: libraries/vendor/monolog/monolog/doc/03-utilities.md

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   libraries/vendor/monolog/monolog/doc/03-utilities.md   Download  
File: libraries/vendor/monolog/monolog/doc/03-utilities.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 6 years ago
Size: 798 bytes
 

Contents

Class file image Download

Utilities

  • _Registry_: The `Monolog\Registry` class lets you configure global loggers that you 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.
  • _ErrorLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log level is reached.
  • _ChannelLevelActivationStrategy_: Activates a FingersCrossedHandler when a certain log level is reached, depending on which channel received the log record.

← Handlers, Formatters and Processors | Extending Monolog →