Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #12 from lord2800/master

Fix per-level functions to not throw undefined constant warnings
  • Loading branch information...
commit 3a214826848d3f0ac2e5ed30027715971c3884d2 2 parents bb1a842 + 5dbdd53
@jbroadway authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/Analog/Analog.php
View
14 lib/Analog/Analog.php
@@ -179,7 +179,7 @@ public static function log ($message, $level = 3) {
* Analog::urgent ('Debug info');
*/
public static function urgent ($message) {
- return self::write (self::get_struct ($message, URGENT));
+ return self::write (self::get_struct ($message, self::URGENT));
}
/**
@@ -189,7 +189,7 @@ public static function urgent ($message) {
* Analog::alert ('Debug info');
*/
public static function alert ($message) {
- return self::write (self::get_struct ($message, ALERT));
+ return self::write (self::get_struct ($message, self::ALERT));
}
/**
@@ -199,7 +199,7 @@ public static function alert ($message) {
* Analog::alert ('Debug info');
*/
public static function error ($message) {
- return self::write (self::get_struct ($message, ERROR));
+ return self::write (self::get_struct ($message, self::ERROR));
}
/**
@@ -209,7 +209,7 @@ public static function error ($message) {
* Analog::alert ('Debug info');
*/
public static function warning ($message) {
- return self::write (self::get_struct ($message, WARNING));
+ return self::write (self::get_struct ($message, self::WARNING));
}
/**
@@ -219,7 +219,7 @@ public static function warning ($message) {
* Analog::alert ('Debug info');
*/
public static function notice ($message) {
- return self::write (self::get_struct ($message, NOTICE));
+ return self::write (self::get_struct ($message, self::NOTICE));
}
/**
@@ -229,7 +229,7 @@ public static function notice ($message) {
* Analog::alert ('Debug info');
*/
public static function info ($message) {
- return self::write (self::get_struct ($message, INFO));
+ return self::write (self::get_struct ($message, self::INFO));
}
/**
@@ -239,7 +239,7 @@ public static function info ($message) {
* Analog::alert ('Debug info');
*/
public static function debug ($message) {
- return self::write (self::get_struct ($message, DEBUG));
+ return self::write (self::get_struct ($message, self::DEBUG));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.