protected function Logger::log in Zircon Profile 8
Same name in this branch
- 8 vendor/wikimedia/composer-merge-plugin/src/Logger.php \Wikimedia\Composer\Logger::log()
- 8 vendor/symfony/http-kernel/Tests/Logger.php \Symfony\Component\HttpKernel\Tests\Logger::log()
Same name and namespace in other branches
- 8.0 vendor/wikimedia/composer-merge-plugin/src/Logger.php \Wikimedia\Composer\Logger::log()
Write a message
Parameters
string $message:
3 calls to Logger::log()
- Logger::debug in vendor/
wikimedia/ composer-merge-plugin/ src/ Logger.php - Log a debug message
- Logger::info in vendor/
wikimedia/ composer-merge-plugin/ src/ Logger.php - Log an informative message
- Logger::warning in vendor/
wikimedia/ composer-merge-plugin/ src/ Logger.php - Log a warning message
File
- vendor/
wikimedia/ composer-merge-plugin/ src/ Logger.php, line 90
Class
- Logger
- Simple logging wrapper for Composer\IO\IOInterface
Namespace
Wikimedia\ComposerCode
protected function log($message) {
if (method_exists($this->inputOutput, 'writeError')) {
$this->inputOutput
->writeError($message);
}
else {
// @codeCoverageIgnoreStart
// Backwards compatiblity for Composer before cb336a5
$this->inputOutput
->write($message);
// @codeCoverageIgnoreEnd
}
}