You are here

public function AcsfEventHandler::consoleLog in Acquia Cloud Site Factory Connector 8.2

Writes a log message to the console.

Parameters

string $message: The log message to be written.

10 calls to AcsfEventHandler::consoleLog()
AcsfDuplicationScrubCommentHandler::handle in src/Event/AcsfDuplicationScrubCommentHandler.php
Implements AcsfEventHandler::handle().
AcsfDuplicationScrubConfigurationHandler::handle in src/Event/AcsfDuplicationScrubConfigurationHandler.php
Implements AcsfEventHandler::handle().
AcsfDuplicationScrubEntityHandler::handle in src/Event/AcsfDuplicationScrubEntityHandler.php
Implements AcsfEventHandler::handle().
AcsfDuplicationScrubFinalizeHandler::handle in src/Event/AcsfDuplicationScrubFinalizeHandler.php
Implements AcsfEventHandler::handle().
AcsfDuplicationScrubInitializeHandler::handle in src/Event/AcsfDuplicationScrubInitializeHandler.php
Implements AcsfEventHandler::handle().

... See full list

File

src/Event/AcsfEventHandler.php, line 51

Class

AcsfEventHandler
AcsfEventHandler.

Namespace

Drupal\acsf\Event

Code

public function consoleLog($message) {
  if (isset($this->event->output)) {
    $this->event->output
      ->writeln($message);
  }
}