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.


Namesort ascending Location Description
_drush_log_drupal_messages includes/drush.inc Turn drupal_set_message errors into drush_log errors
_drush_log includes/drush.inc Call the default logger, or the user's log callback, as appropriate.
_drush_create_default_logger includes/drush.inc Future: add some sort of dependency injection to Drush.
drush_print_timers includes/drush.inc
drush_pipe_output includes/drush.inc Display the pipe output for the current request.
drush_log_has_errors includes/drush.inc
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
drush_format_size includes/drush.inc
drush_backend_packet_log includes/drush.inc Backend command callback. Add a log message to the log history.
dlm includes/drush.inc Run print_r on a variable and log the output.


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