function drush_get_error_log

8.0.x drush_get_error_log()
6.x drush_get_error_log()
7.x drush_get_error_log()
3.x drush_get_error_log()
4.x drush_get_error_log()
5.x drush_get_error_log()
master 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/
Print the json-encoded output of this command, including the encoded log records, context information, etc.
drush_cmp_error in includes/
Check if a specific error status has been set.
drush_notify_shutdown_error in commands/core/
Shutdown function to signal on errors.


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


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