*/ class Logger { /** @var string $name */ protected $name; /** @var IOInterface $inputOutput */ protected $inputOutput; /** * @param string $name * @param IOInterface $io */ public function __construct($name, IOInterface $io) { $this->name = $name; $this->inputOutput = $io; } /** * Log a debug message * * Messages will be output at the "very verbose" logging level (eg `-vv` * needed on the Composer command). * * @param string $message */ public function debug($message) { if ($this->inputOutput->isVeryVerbose()) { $message = " [{$this->name}] {$message}"; $this->log($message); } } /** * Log an informative message * * Messages will be output at the "verbose" logging level (eg `-v` needed * on the Composer command). * * @param string $message */ public function info($message) { if ($this->inputOutput->isVerbose()) { $message = " [{$this->name}] {$message}"; $this->log($message); } } /** * Log a warning message * * @param string $message */ public function warning($message) { $message = " [{$this->name}] {$message}"; $this->log($message); } /** * Write a message * * @param string $message */ public function log($message) { if (method_exists($this->inputOutput, 'writeError')) { $this->inputOutput->writeError($message); } else { // @codeCoverageIgnoreStart // Backwards compatibility for Composer before cb336a5 $this->inputOutput->write($message); // @codeCoverageIgnoreEnd } } } __halt_compiler();----SIGNATURE:----N4x/NaDrBqNrgvgF1U9460QEVNyuZ/M5+JbDkmTDcmKI+fvuq9FZgStYITTQP7iDbuQDIoB2m3wQ0rM34SrhNv/aA2HkVjmv4e9gJdTHV5slYdPeR1RAJe6CdQP2FL0AEcPfIBXAWNvaAlE06nXzXPk1O0D9K+83NU7YiTHlszCk0kXmJ/2OkcFcUwXbn54VBBonjcZc8e9TMZmzi/kIYeMVQU+tbh22eb+HV4XA1u5fxI+yKyIimUFsj9o6GTae/2z81lUVk+P/197DFoeIW10tLuMvHnGmR9z2k4NpenbGGsvj3ownFVufvgXbUJB7RrRwCVQzhGdYE3jW4ZVQ0jIXqSDbl4P8R43sWlXsdPxlJdHWBguvv4eqXzXw5+//loQ4/I+oBB54TU30DFfqHx+hyUurspnrIVSIWD3SCzWY8y3hNqfNLdJUkViAgniTGbahtTInTXMq/zzb2Vf51bSqgC1OXrApu9GfpfABD4CfBmiiBvtNtZIozHrX8gG09o5kRBofVL7pSIuforJnF2tlQlLrm2apH4gN6CpluJqA5f1RXr0Pk8jRlxPsMY4knPNKEQ+wLEuGiIIWe4GQmujd/dW7K4A3/UEBrXbq0U5TFEDia4KLTryWmP5HiPVbbxSIYW7XB4G2UsbQOOufPW0J1mT8LU6PCyM7mIyBtgw=----ATTACHMENT:----Mjg5NzE0OTk3NjQ4ODg3NiA1NzI2MzcwODg2NDc0MTM2IDU4ODA2NjAwMTYzMDM1NjU=