function drush_get_log

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

Retrieve the log messages from the log history

Return value

Entire log history

Related topics

1 call to drush_get_log()
drush_backend_output in includes/backend.inc
Print the json-encoded output of this command, including the encoded log records, context information, etc.

File

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

Code

function drush_get_log() {
  return drush_get_context('DRUSH_LOG', array());
}