diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-13 15:23:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-13 15:23:03 +0000 |
commit | 3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d (patch) | |
tree | 4bd9c67db94feb06249cc2727dd3a5e935f58e12 /modules/syslog/syslog.module | |
parent | f8e14898d636ceae44a9980105da903f57d2deef (diff) | |
download | brdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.gz brdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.bz2 |
- Patch #716496 by JohnAlbin: documentation updates for theme functions.
Diffstat (limited to 'modules/syslog/syslog.module')
-rw-r--r-- | modules/syslog/syslog.module | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/modules/syslog/syslog.module b/modules/syslog/syslog.module index 1ee2ef6d8..5d95493c5 100644 --- a/modules/syslog/syslog.module +++ b/modules/syslog/syslog.module @@ -95,7 +95,23 @@ function syslog_theme() { } /** - * Format a system log entry. + * Returns a string for a system log entry. + * + * @param $variables + * An associative array containing: + * - entry: An array containing the data about the log entry, containing: + * - timestamp: The date and time of the log entry. + * - type: The type of log entry. + * - ip: The IP address. + * - request_uri: The requested URI. + * - referer: The URL which referred to the request URI. + * - user: The user object associated with the log entry. + * - link: A link accociated with the log entry. + * - variables: A string representing the data to log. + * - message: If variables is not specified, a string for the log message. + * + * @return + * A string containing a pipe-delimited "|" log message. * * @ingroup themeable */ |