function _drush_print_log

6.x drush.inc _drush_print_log($entry)
3.x drush.inc _drush_print_log($entry)
4.x drush.inc _drush_print_log($entry)
5.x drush.inc _drush_print_log($entry)
master drush.inc _drush_print_log($entry)

Related topics

File

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

Code

function _drush_print_log($entry) {
  $drush_logger = \Drush::logger();
  if ($drush_logger) {
    _drush_log_to_logger($drush_logger, $entry);
  }
}