From 57ca3f132f22b977566a45a515978f11bf19550f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 25 Feb 2001 17:17:26 +0000 Subject: - added some documentation --- modules/watchdog.module | 15 ++++++++++++++- modules/watchdog/watchdog.module | 15 ++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/watchdog.module b/modules/watchdog.module index 26714ed20..9980a9c36 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -1,8 +1,16 @@ "watchdog_cron", +$module = array("help" => "watchdog_help", + "cron" => "watchdog_cron", "admin" => "watchdog_admin"); +function watchdog_help() { + ?> +

The watchdog module monitors your website, captures system events in a log and records them to be reviewed by an authorized individual at a later time. The watchdog log is simply a list of events recorded during operation and contains usage data, performance data, errors, warnings and operational information. It is vital to check the watchdog report on a regular basis as it is often the only way to tell what is going on.

+

To ease administration, the watchdog will automatically remove old logs.

+ overview | help
\n"; + switch ($op) { + case "help": + watchdog_help(); + break; case "view": watchdog_view($id); break; diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 26714ed20..9980a9c36 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -1,8 +1,16 @@ "watchdog_cron", +$module = array("help" => "watchdog_help", + "cron" => "watchdog_cron", "admin" => "watchdog_admin"); +function watchdog_help() { + ?> +

The watchdog module monitors your website, captures system events in a log and records them to be reviewed by an authorized individual at a later time. The watchdog log is simply a list of events recorded during operation and contains usage data, performance data, errors, warnings and operational information. It is vital to check the watchdog report on a regular basis as it is often the only way to tell what is going on.

+

To ease administration, the watchdog will automatically remove old logs.

+ overview | help
\n"; + switch ($op) { + case "help": + watchdog_help(); + break; case "view": watchdog_view($id); break; -- cgit v1.2.3