MediaWiki  1.28.0
MediaWiki\Logger\Monolog\LegacyFormatter Class Reference

Log message formatter that mimics the legacy log message formatting of wfDebug, wfDebugLog, wfLogDBError and wfErrorLog global functions by delegating the formatting to \MediaWiki\Logger\LegacyLogger. More...

Inheritance diagram for MediaWiki\Logger\Monolog\LegacyFormatter:
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 wfErrorLog global functions by delegating the formatting to \MediaWiki\Logger\LegacyLogger.

Since
1.25
Author
Bryan Davis bd808.nosp@m.@wik.nosp@m.imedi.nosp@m.a.or.nosp@m.g
Note
© 2013 Bryan Davis and Wikimedia Foundation.
See also
\MediaWiki\Logger\LegacyLogger

Definition at line 36 of file LegacyFormatter.php.

Constructor & Destructor Documentation

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

Definition at line 38 of file LegacyFormatter.php.

Member Function Documentation

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

Definition at line 42 of file LegacyFormatter.php.

References MediaWiki\Logger\LegacyLogger\format(), and format.


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