PHP Classes

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

Recommend this page to a friend!
  Classes of Renato Lucena   PHP Pokemon Script   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: PHP Pokemon Script
Provides an API to manage a database of Pokemons
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 →