You are here

public function Logger::info in Zircon Profile 8

Same name in this branch
  1. 8 vendor/wikimedia/composer-merge-plugin/src/Logger.php \Wikimedia\Composer\Logger::info()
  2. 8 vendor/symfony/http-kernel/Tests/Logger.php \Symfony\Component\HttpKernel\Tests\Logger::info()
Same name and namespace in other branches
  1. 8.0 vendor/wikimedia/composer-merge-plugin/src/Logger.php \Wikimedia\Composer\Logger::info()

Log an informative message

Messages will be output at the "verbose" logging level (eg `-v` needed on the Composer command).

Parameters

string $message:

File

vendor/wikimedia/composer-merge-plugin/src/Logger.php, line 66

Class

Logger
Simple logging wrapper for Composer\IO\IOInterface

Namespace

Wikimedia\Composer

Code

public function info($message) {
  if ($this->inputOutput
    ->isVerbose()) {
    $message = "  <info>[{$this->name}]</info> {$message}";
    $this
      ->log($message);
  }
}