PHP Classes

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

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/monolog/monolog/doc/03-utilities.md   Download  
File: vendor/monolog/monolog/doc/03-utilities.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 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 →