You are here

public function Logger::warning in Zircon Profile 8

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

Log a warning message

Parameters

string $message:

File

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

Class

Logger
Simple logging wrapper for Composer\IO\IOInterface

Namespace

Wikimedia\Composer

Code

public function warning($message) {
  $message = "  <error>[{$this->name}]</error> {$message}";
  $this
    ->log($message);
}