summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/public/util.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/public/util.php b/lib/public/util.php
index 8c52ff28b83..3e647fc6605 100644
--- a/lib/public/util.php
+++ b/lib/public/util.php
@@ -32,6 +32,13 @@ namespace OCP;
class Util {
+ // consts for Logging
+ const DEBUG=0;
+ const INFO=1;
+ const WARN=2;
+ const ERROR=3;
+ const FATAL=4;
+
/**
* send an email
*
@@ -57,7 +64,7 @@ class Util {
* @param string $message
* @param int level
*/
- public static function writelog($app, $message, $level) {
+ public static function writeLog($app, $message, $level) {
// call the internal log class
\OC_LOG::write($app, $message, $level);