function drush_get_error_log

8.0.x drush.inc drush_get_error_log()
6.x drush.inc drush_get_error_log()
7.x drush.inc drush_get_error_log()
3.x drush.inc drush_get_error_log()
4.x drush.inc drush_get_error_log()
5.x drush.inc drush_get_error_log()
master drush.inc drush_get_error_log()

Return the current list of errors that have occurred.

Return value

An associative array of error messages indexed by the type of message.

Related topics

3 calls to drush_get_error_log()
drush_backend_output in includes/backend.inc
Print the json-encoded output of this command, including the encoded log records, context information, etc.
drush_cmp_error in includes/drush.inc
Check if a specific error status has been set.
drush_notify_shutdown_error in commands/core/notify.drush.inc
Shutdown function to signal on errors.

File

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

Code

function drush_get_error_log() {
  return drush_get_context('DRUSH_ERROR_LOG', array());
}