$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 ) {