MediaWiki
1.30.0
|
Variables | |
MediaWiki Logger wfErrorLog and other global logging | functions |
MediaWiki Logger Monolog | LegacyHandler |
MediaWiki Logger | LegacyLogger |
MediaWiki Logger | LegacySpi |
MediaWiki Logger LoggerFactory implements a PSR[0] compatible message logging system Named Psr Log LoggerInterface instances can be obtained from the MediaWiki Logger LoggerFactory::getInstance() static method. MediaWiki\Logger\LoggerFactory expects a class implementing the MediaWiki\Logger\Spi interface to act as a factory for new Psr\Log\LoggerInterface instances. The "Spi" in MediaWiki\Logger\Spi stands for "service provider interface". An SPI is an API intended to be implemented or extended by a third party. This software design pattern is intended to enable framework extension and replaceable components. It is specifically used in the MediaWiki\Logger\LoggerFactory service to allow alternate PSR-3 logging implementations to be easily integrated with MediaWiki. The service provider interface allows the backend logging library to be implemented in multiple ways. The $wgMWLoggerDefaultSpi global provides the classname of the default MediaWiki\Logger\Spi implementation to be loaded at runtime. This can either be the name of a class implementing the MediaWiki\Logger\Spi with a zero argument const ructor or a callable that will return an MediaWiki\Logger\Spi instance. Alternately the MediaWiki\Logger\LoggerFactory MediaWiki Logger | LoggerFactory |
MediaWiki Logger | MonologSpi |
MediaWiki Logger | NullSpi |
MediaWiki Logger | Spi |
MediaWiki Logger Monolog | WikiProcessor |
MediaWiki Logger wfErrorLog and other global logging functions |
Definition at line 54 of file logger.txt.
MediaWiki Logger Monolog LegacyHandler |
Definition at line 61 of file logger.txt.
MediaWiki Logger LegacyLogger |
Definition at line 54 of file logger.txt.
Referenced by MediaWiki\Logger\LegacySpi::getLogger().
MediaWiki Logger LegacySpi |
Definition at line 53 of file logger.txt.
|
new |
Definition at line 5 of file logger.txt.
MediaWiki Logger MonologSpi |
Definition at line 58 of file logger.txt.
Referenced by MediaWiki\Logger\MonologSpiTest::testMergeConfig().
MediaWiki Logger NullSpi |
Definition at line 51 of file logger.txt.
MediaWiki Logger Spi |
Definition at line 49 of file logger.txt.
MediaWiki Logger Monolog WikiProcessor |
Definition at line 66 of file logger.txt.