INFO -> log::INFO

This commit is contained in:
Bharat Mediratta
2008-12-21 04:42:25 +00:00
parent b3c05b1579
commit 4c2ddfb868

View File

@@ -30,7 +30,7 @@ class log_Core {
* @param integer $severity INFO, WARNING or ERROR
* @param string $html an html snippet presented alongside the log message to aid the admin
*/
function add($category, $message, $severity=INFO, $html) {
function add($category, $message, $severity=log::INFO, $html="") {
$log = ORM::factory("log");
$log->category = $category;
$log->message = $message;