Logging information to be provided as output.

  1. 8.0.x includes/drush.inc logging
  2. 6.x includes/drush.inc logging
  3. 7.x includes/drush.inc logging
  4. 3.x includes/drush.inc logging
  5. 4.x includes/drush.inc logging
  6. 5.x includes/drush.inc logging
  7. master includes/drush.inc logging

These functions are primarily for diagnostic purposes, but also provide an overview of tasks that were taken by drush.


Name Locationsort descending Description
drush_log includes/drush.inc Add a log message to the log history.
drush_get_log includes/drush.inc Retrieve the log messages from the log history
dlm includes/drush.inc Run print_r on a variable and log the output.
drush_pipe_output includes/drush.inc Display the pipe output for the current request.
_drush_print_log includes/drush.inc Display the log message
drush_print_timers includes/drush.inc
_drush_log_drupal_messages includes/drush.inc Turn drupal_set_message errors into drush_log errors
drush_format_size includes/drush.inc
system_watchdog includes/drush.inc Log Drupal watchdog() calls.
_drush_log_update_sql includes/drush.inc Log the return value of Drupal hook_update_n functions.


includes/drush.inc, line 2377
The drush API implementation and helpers.