You are here

public function PhoneInternationalCommands::drushLog in International Phone 3.x

Logs with an arbitrary level.

Parameters

string $message: The log message.

mixed $type: The log type.

1 call to PhoneInternationalCommands::drushLog()
PhoneInternationalCommands::plugin in src/Commands/PhoneInternationalCommands.php
Download and install the Phone International plugin.

File

src/Commands/PhoneInternationalCommands.php, line 99

Class

PhoneInternationalCommands
A Drush commandfile.

Namespace

Drupal\phone_international\Commands

Code

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