summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-11 12:01:54 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-11 12:01:54 +0000
commit161a856ab8a4b1e50fcf0f3da3eca0875ca3ee20 (patch)
tree0b29c89939a4005e6c0685eaace347b92b5b29b0
parenteb5e171cb659107b4ffc65f01e204568b7c740c4 (diff)
downloadbrdo-161a856ab8a4b1e50fcf0f3da3eca0875ca3ee20.tar.gz
brdo-161a856ab8a4b1e50fcf0f3da3eca0875ca3ee20.tar.bz2
- Patch #102603 by webchick: documenting watchdog constants.
-rw-r--r--includes/bootstrap.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index ea6f6e4f9..b640e5c68 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -13,8 +13,22 @@ define('CACHE_DISABLED', 0);
define('CACHE_NORMAL', 1);
define('CACHE_AGGRESSIVE', 2);
+/**
+ * Indicates a notice-level watchdog event; these are normally notifications
+ * of normal system events that have occurred and can usually be safely ignored.
+ */
define('WATCHDOG_NOTICE', 0);
+
+/**
+ * Indicates a warning-level watchdog event; this can be triggered by an error
+ * in a module that does not impact the overall functionality of the site.
+ */
define('WATCHDOG_WARNING', 1);
+
+/**
+ * Indicates an error-level watchdog event; could be indicative of an attempt
+ * to compromise the security of the site, or a serious system error.
+ */
define('WATCHDOG_ERROR', 2);
/**