LogLevel::EMERGENCY => 600,
);
-
/**
* @param string $channel
*/
MWDebug::debugMsg( $message, array( 'channel' => $this->channel ) + $context );
}
-
/**
* Determine if the given message should be emitted or not.
*
return $shouldEmit;
}
-
/**
* Format a message.
*
return self::interpolate( $text, $context );
}
-
/**
* Format a message as `wfDebug()` would have formatted it.
*
return "{$text}\n";
}
-
/**
* Format a message as `wfLogDBError()` would have formatted it.
*
return $text;
}
-
/**
* Format a message as `wfDebugLog() would have formatted it.
*
return $text;
}
-
/**
* Interpolate placeholders in logging message.
*
return $message;
}
-
/**
* Convert a logging context element to a string suitable for
* interpolation.
return '[Unknown ' . gettype( $item ) . ']';
}
-
/**
* Select the appropriate log output destination for the given log event.
*
return $destination;
}
-
/**
* Log to a file without getting "file size exceeded" signals.
*