MediaWiki  master
CeeFormatter.php
Go to the documentation of this file.
1 <?php
2 
4 
18  public function format( array $record ): string {
19  return "@cee: " . parent::format( $record );
20  }
21 }
MediaWiki\Logger\Monolog
Definition: BufferHandler.php:23
MediaWiki\Logger\Monolog\LogstashFormatter
LogstashFormatter squashes the base message array and the context and extras subarrays into one.
Definition: LogstashFormatter.php:13
MediaWiki\Logger\Monolog\CeeFormatter
CeeFormatter extends LogstashFormatter to prefix records with a "cee cookie".
Definition: CeeFormatter.php:12
MediaWiki\Logger\Monolog\CeeFormatter\format
format(array $record)
Format records with a cee cookie.
Definition: CeeFormatter.php:18