summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/log.php27
1 files changed, 9 insertions, 18 deletions
diff --git a/lib/log.php b/lib/log.php
index d83f88c1df8..3bedcd4ed36 100644
--- a/lib/log.php
+++ b/lib/log.php
@@ -36,8 +36,7 @@ class Log {
* @param array $context
* @return null
*/
- public function emergency($message, array $context = array())
- {
+ public function emergency($message, array $context = array()) {
$this->log(self::FATAL, $message, $context);
}
@@ -51,8 +50,7 @@ class Log {
* @param array $context
* @return null
*/
- public function alert($message, array $context = array())
- {
+ public function alert($message, array $context = array()) {
$this->log(self::ALERT, $message, $context);
}
@@ -65,8 +63,7 @@ class Log {
* @param array $context
* @return null
*/
- public function critical($message, array $context = array())
- {
+ public function critical($message, array $context = array()) {
$this->log(self::CRITICAL, $message, $context);
}
@@ -78,8 +75,7 @@ class Log {
* @param array $context
* @return null
*/
- public function error($message, array $context = array())
- {
+ public function error($message, array $context = array()) {
$this->log(self::ERROR, $message, $context);
}
@@ -93,8 +89,7 @@ class Log {
* @param array $context
* @return null
*/
- public function warning($message, array $context = array())
- {
+ public function warning($message, array $context = array()) {
$this->log(self::WARN, $message, $context);
}
@@ -105,8 +100,7 @@ class Log {
* @param array $context
* @return null
*/
- public function notice($message, array $context = array())
- {
+ public function notice($message, array $context = array()) {
$this->log(self::NOTICE, $message, $context);
}
@@ -119,8 +113,7 @@ class Log {
* @param array $context
* @return null
*/
- public function info($message, array $context = array())
- {
+ public function info($message, array $context = array()) {
$this->log(self::INFO, $message, $context);
}
@@ -131,8 +124,7 @@ class Log {
* @param array $context
* @return null
*/
- public function debug($message, array $context = array())
- {
+ public function debug($message, array $context = array()) {
$this->log(self::DEBUG, $message, $context);
}
@@ -144,8 +136,7 @@ class Log {
* @param array $context
* @return null
*/
- protected function log($level, $message, array $context = array())
- {
+ protected function log($level, $message, array $context = array()) {
if (isset($context['app'])) {
$app = $context['app'];
} else {