diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 17:38:27 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 17:38:27 +0200 |
commit | d0554bef069b29affa95ec3c2bf78af637703a90 (patch) | |
tree | f28c25fef284dc6b61425917e79a812c85274597 /lib | |
parent | 7ded9cf520f74b595bc0f8939ac59249b47ccbc9 (diff) | |
download | nextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.tar.gz nextcloud-server-d0554bef069b29affa95ec3c2bf78af637703a90.zip |
finish porting of the LOG calls or the apps to the public api
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/util.php | 9 |
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); |