function drush_get_error_log
| 6.x drush.inc | drush_get_error_log() |
| 5.x drush.inc | drush_get_error_log() |
| 3.x drush.inc | drush_get_error_log() |
| 4.x 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
2 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.
File
- includes/
drush.inc, line 1836 - The drush API implementation and helpers.
Code
function drush_get_error_log() {
return drush_get_context('DRUSH_ERROR_LOG', array());
}