You are here

function error_log_help in Error Log 8

Same name and namespace in other branches
  1. 7 error_log.module \error_log_help()

Implements hook_help().

1 call to error_log_help()
ErrorLogConfigForm::buildForm in src/Form/ErrorLogConfigForm.php
Builds Error Log config form.

File

./error_log.module, line 21
Error Log module.

Code

function error_log_help($route_name, RouteMatchInterface $route_match = NULL) {
  switch ($route_name) {
    case 'help.page.error_log':
      return t('Error Log module sends log messages to the PHP error log, which, depending on the environment, could be the web server error log, stderr, syslog, or whatever the error_log PHP configuration directive is configured as. This logger will be disabled in the Drush environment, which has its own console log, unless the error_log configuration directive has been set. Because Drupal core also logs to error_log() in certain circumstances, some fatal errors may be logged twice, once by this logger, and once by Drupal core itself.');
  }
}