function drush_core_watchdog_show

8.0.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
6.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
7.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
3.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
4.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
5.x watchdog.drush.inc drush_core_watchdog_show($arg = NULL)
master watchdog.drush.inc drush_core_watchdog_show($arg = NULL)

Command callback.

File

commands/core/watchdog.drush.inc, line 127

Code

function drush_core_watchdog_show($arg = NULL) {
  drush_include_engine('drupal', 'environment');

  if (is_numeric($arg)) {
    return drush_core_watchdog_show_one($arg);
  }
  else {
    return drush_core_watchdog_show_many($arg);
  }
}