diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-05-13 08:05:53 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-05-13 08:28:10 +0200 |
commit | 31ad43f9221899b2379b3b72e43270b17fa9f881 (patch) | |
tree | f75ac1daa9dafefa94f9bb5db1766103ea1639b8 /lib/log.php | |
parent | 0b4018e7ff5f2660850338e8ea0aaab57c48209e (diff) | |
download | nextcloud-server-31ad43f9221899b2379b3b72e43270b17fa9f881.tar.gz nextcloud-server-31ad43f9221899b2379b3b72e43270b17fa9f881.zip |
Code style
Diffstat (limited to 'lib/log.php')
-rw-r--r-- | lib/log.php | 27 |
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 { |