*
* @param string $message
* @param array $context
- * @return null
*/
public function emergency($message, array $context = array()) {
$this->log(\OC_Log::FATAL, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function alert($message, array $context = array()) {
$this->log(self::ALERT, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function critical($message, array $context = array()) {
$this->log(self::CRITICAL, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function error($message, array $context = array()) {
$this->log(\OC_Log::ERROR, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function warning($message, array $context = array()) {
$this->log(\OC_Log::WARN, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function notice($message, array $context = array()) {
$this->log(self::NOTICE, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function info($message, array $context = array()) {
$this->log(\OC_Log::INFO, $message, $context);
*
* @param string $message
* @param array $context
- * @return null
*/
public function debug($message, array $context = array()) {
$this->log(\OC_Log::DEBUG, $message, $context);
* @param mixed $level
* @param string $message
* @param array $context
- * @return null
*/
protected function log($level, $message, array $context = array()) {
if (isset($context['app'])) {