From 161a856ab8a4b1e50fcf0f3da3eca0875ca3ee20 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 11 Dec 2006 12:01:54 +0000 Subject: - Patch #102603 by webchick: documenting watchdog constants. --- includes/bootstrap.inc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'includes') 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); /** -- cgit v1.2.3