|
|
@@ -18,24 +18,24 @@
|
|
|
* @since CakePHP(tm) v 0.2.9
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
|
*/
|
|
|
+
|
|
|
/**
|
|
|
* Set up error level constants to be used within the framework if they are not defined within the
|
|
|
* system.
|
|
|
*
|
|
|
*/
|
|
|
- if (!defined('LOG_WARNING')) {
|
|
|
- define('LOG_WARNING', 3);
|
|
|
- }
|
|
|
- if (!defined('LOG_NOTICE')) {
|
|
|
- define('LOG_NOTICE', 4);
|
|
|
- }
|
|
|
- if (!defined('LOG_DEBUG')) {
|
|
|
- define('LOG_DEBUG', 5);
|
|
|
- }
|
|
|
- if (!defined('LOG_INFO')) {
|
|
|
- define('LOG_INFO', 6);
|
|
|
- }
|
|
|
-
|
|
|
+if (!defined('LOG_WARNING')) {
|
|
|
+ define('LOG_WARNING', 3);
|
|
|
+}
|
|
|
+if (!defined('LOG_NOTICE')) {
|
|
|
+ define('LOG_NOTICE', 4);
|
|
|
+}
|
|
|
+if (!defined('LOG_DEBUG')) {
|
|
|
+ define('LOG_DEBUG', 5);
|
|
|
+}
|
|
|
+if (!defined('LOG_INFO')) {
|
|
|
+ define('LOG_INFO', 6);
|
|
|
+}
|
|
|
|
|
|
/**
|
|
|
* Logs messages to configured Log adapters. One or more adapters can be configured
|
|
|
@@ -205,4 +205,5 @@ class CakeLog {
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
}
|