* @param string $file Filename
* @param array $context Additional logging context data
* @throws MWException
- * @deprecated since 1.25 Use MediaWiki\Logger\LegacyLogger::emit or UDPTransport
+ * @deprecated since 1.25 Use \\MediaWiki\\Logger\\LegacyLogger::emit or UDPTransport
*/
function wfErrorLog( $text, $file, array $context = array() ) {
wfDeprecated( __METHOD__, '1.25' );
/**
* Service provider.
- * @var \MediaWiki\Logger\Spi $spi
+ * @var \\MediaWiki\\Logger\\Spi $spi
*/
private static $spi;
* Get the writer for the named channel
*
* @var string $channel Name of the schema to fetch
- * @return AvroSchema|null
+ * @return \\AvroSchema|null
*/
protected function getSchema( $channel ) {
if ( !isset( $this->schemas[$channel] ) ) {
use Monolog\Handler\BufferHandler as BaseBufferHandler;
/**
- * Updates the Monolog BufferHandler to use DeferredUpdates rather
+ * Updates \\Monolog\\Handler\\BufferHandler to use DeferredUpdates rather
* than register_shutdown_function. On supported platforms this will
* use register_postsend_function or fastcgi_finish_request() to delay
* until after the request has shutdown and we are no longer delaying
* channel as the prefix value.
*
* When not targeting a udp2log stream this class will act as a drop-in
- * replacement for Monolog's StreamHandler.
+ * replacement for \\Monolog\\Handler\\StreamHandler.
*
* @since 1.25
* @author Bryan Davis <bd808@wikimedia.org>
* Monolog's SyslogUdpHandler creates a partial RFC 5424 header (PRI and
* VERSION) and relies on the associated formatter to complete the header and
* message payload. This makes using it with a fixed format formatter like
- * Monolog\Formatter\LogstashFormatter impossible. Additionally, the direct
- * syslog input for Logstash only handles RFC 3164 syslog packets.
+ * \\Monolog\\Formatter\\LogstashFormatter impossible. Additionally, the
+ * direct syslog input for Logstash only handles RFC 3164 syslog packets.
*
* This Handler should work with any Formatter. The formatted message will be
* prepended with an RFC 3164 message header and a partial message body. The