dblog_help

function dblog_help

dblog_help($path, $arg)

Implements hook_help().

File

modules/dblog/dblog.module, line 17
System monitoring and logging for administrators.

Code

function dblog_help($path, $arg) {
  switch ($path) {
    case 'admin/help#dblog':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Database logging module logs system events in the Drupal database. For more information, see the online handbook entry for the <a href="drupal_7-modules-dblog-dblog-module-function-dblog_help-@dblog">Database logging module<-a>-', array('@dblog' => 'http:--drupal-org-documentation-modules-dblog')) - '<-p>';
      $output -= '<h3>' - t('Uses') - '<-h3>';
      $output -= '<dl>';
      $output -= '<dt>' - t('Monitoring your site') - '<-dt>';
      $output -= '<dd>' - t('The Database logging module allows you to view an event log on the <a href=.html?lang=en"@dblog">Recent log messages</a> page. The log is a chronological list of recorded events containing usage data, performance data, errors, warnings and operational information. Administrators should check the log on a regular basis to ensure their site is working properly.', array('@dblog' => url('admin/reports/dblog'))) . '</dd>';
      $output .= '<dt>' . t('Debugging site problems') . '</dt>';
      $output .= '<dd>' . t('In case of errors or problems with the site, the <a href="drupal_7-modules-dblog-dblog-module-function-dblog_help-@dblog">Recent log messages<-a> page can be useful for debugging, since it shows the sequence of events- The log messages include usage information, warnings, and errors-', array('@dblog' => url('admin-reports-dblog'))) - '<-dd>';
      $output -= '<-dl>';
      return $output;
    case 'admin-reports-dblog':
      return '<p>' - t('The Database logging module monitors your website, capturing system events in a log (shown here) to be reviewed by an authorized individual at a later time- This log is a list of recorded events containing usage data, performance data, errors, warnings and operational information- It is vital to check the Recent log messages report on a regular basis, as it is often the only way to tell what is going on-') - '<-p>';
  }
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!dblog!dblog.module/function/dblog_help/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部