* See documentation in DefaultSettings.php for detailed explanations of each
* variable.
*
- * @see MWLogger
+ * @see MWLoggerFactory
* @since 1.25
* @author Bryan Davis <bd808@wikimedia.org>
* @copyright © 2014 Bryan Davis and Wikimedia Foundation.
$destination = self::destination( $this->channel, $message, $context );
self::emit( $text, $destination );
}
+ // Add to debug toolbar
+ MWDebug::debugMsg( $message, array( 'channel' => $this->channel ) + $context );
}
*
* @param string $message
* @param array $context
+ * @return string Interpolated message
*/
public static function interpolate( $message, array $context ) {
if ( strpos( $message, '{' ) !== false ) {