You are here

public function WebformCommandsBase::drush_log in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Commands/WebformCommandsBase.php \Drupal\webform\Commands\WebformCommandsBase::drush_log()

File

src/Commands/WebformCommandsBase.php, line 47

Class

WebformCommandsBase
Base class for Webform commands for Drush 9.x.

Namespace

Drupal\webform\Commands

Code

public function drush_log($message, $type = LogLevel::INFO) {
  $this
    ->logger()
    ->log($type, $message);
}