MediaWiki REL1_41
Debug logging

Classes

class  MediaWiki\Logger\Monolog\BufferHandler
 Helper class for the index.php entry point. More...
 
class  MediaWiki\Logger\Monolog\CeeFormatter
 Prefixed version of LogstashFormatter that adds a "cee cookie" for Rsyslog. More...
 
class  MediaWiki\Logger\ConsoleLogger
 Write logs to command-line output (STDERR). More...
 
class  MediaWiki\Logger\ConsoleSpi
 ConsoleLogger service provider for MediaWiki\Logger\LoggerFactory. More...
 
class  MediaWiki\Logger\Monolog\LegacyFormatter
 Log message formatter that mimics the legacy log message formatting of wfDebug, wfDebugLog, wfLogDBError and the former wfErrorLog global functions by delegating the formatting to \MediaWiki\Logger\LegacyLogger. More...
 
class  MediaWiki\Logger\Monolog\LegacyHandler
 Monolog imitation of MediaWiki\Logger\LegacyLogger. More...
 
class  MediaWiki\Logger\LegacyLogger
 PSR-3 logger that mimics the historic implementation of MediaWiki's former wfErrorLog logging implementation. More...
 
class  MediaWiki\Logger\LegacySpi
 The default service provider for MediaWiki\Logger\LoggerFactory, which creates LegacyLogger objects. More...
 
class  MediaWiki\Logger\Monolog\LineFormatter
 Formats incoming records into a one-line string. More...
 
class  MediaWiki\Logger\LogCapturingSpi
 Wrap another Spi and keep a copy of all log messages. More...
 
class  MediaWiki\Logger\LoggerFactory
 Create PSR-3 logger objects. More...
 
class  MediaWiki\Logger\Monolog\LogstashFormatter
 Modified version of Monolog\Formatter\LogstashFormatter. More...
 
class  MediaWiki\Logger\MonologSpi
 LoggerFactory service provider that creates loggers implemented by Monolog. More...
 
class  MWDebug
 Debug toolbar. More...
 
class  MediaWiki\Logger\Monolog\MwlogHandler
 Write logs to syslog with the channel appended to the application name. More...
 
class  MediaWiki\Logger\NullSpi
 LoggerFactory service provider that creates \Psr\Log\NullLogger instances. More...
 
interface  MediaWiki\Logger\Spi
 Service provider interface to create \Psr\Log\LoggerInterface objects. More...
 
class  MediaWiki\Logger\Monolog\SyslogHandler
 Write logs to a syslog server, using RFC 3164 formatted UDP packets. More...
 
class  MediaWiki\Logger\Monolog\WikiProcessor
 Annotate log records with request-global metadata, such as the hostname, wiki / request ID, and MediaWiki version. More...
 

Detailed Description

To primary APIs for this feature, and the classes where their documentation starts, are:

See also
Logger documentation in docs/Logger.md