public static function Drush::logger

master Drush.php public static Drush::logger()

Return the Drush logger object.

Return value

LoggerInterface

3 calls to Drush::logger()
DrupalBoot8::add_logger in lib/Drush/Boot/DrupalBoot8.php
_drush_log in includes/drush.inc
Call the default logger, or the user's log callback, as appropriate.
_drush_print_log in includes/drush.inc

File

lib/Drush.php, line 192
Contains \Drush.

Class

Drush
Static Service Container wrapper.

Code

public static function logger() {
  return static::service('logger');
}