MediaWiki REL1_33
LegacyFormatter.php
Go to the documentation of this file.
1<?php
22
25
36class LegacyFormatter extends NormalizerFormatter {
37
38 public function __construct() {
39 parent::__construct( 'c' );
40 }
41
42 public function format( array $record ) {
43 $normalized = parent::format( $record );
45 $normalized['channel'], $normalized['message'], $normalized
46 );
47 }
48}
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
PSR-3 logger that mimics the historic implementation of MediaWiki's former wfErrorLog logging impleme...
static format( $channel, $message, $context)
Format a message.
Log message formatter that mimics the legacy log message formatting of wfDebug, wfDebugLog,...
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))