MediaWiki master
MediaWiki\Logger\Monolog\LegacyFormatter Class Reference

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...

Inherits NormalizerFormatter.

Collaboration diagram for MediaWiki\Logger\Monolog\LegacyFormatter:

Public Member Functions

 __construct ()
 
 format (array $record)
 

Detailed Description

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.

Deprecated
since 1.32
Since
1.25
Note
© 2013 Wikimedia Foundation and contributors

Definition at line 36 of file LegacyFormatter.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Logger\Monolog\LegacyFormatter::__construct ( )

Definition at line 38 of file LegacyFormatter.php.

Member Function Documentation

◆ format()

MediaWiki\Logger\Monolog\LegacyFormatter::format ( array $record)

Definition at line 42 of file LegacyFormatter.php.


The documentation for this class was generated from the following file: