Monolog\Logger::info PHP Method

info() public method

This method allows to have an easy ZF compatibility.
public info ( string $message, array $context = [] ) : boolean
$message string The log message
$context array The log context
return boolean Whether the record has been processed
    public function info($message, array $context = array())
    {
        return $this->addRecord(self::INFO, $message, $context);
    }

Usage Example

Example #1
0
 /**
  * @param $channel
  * @param $message
  */
 public function consume($channel, $message)
 {
     $this->logger->info('consuming message');
     if ($channel == 'saveInBulk') {
         $this->service->saveInBulk($message);
     }
 }
All Usage Examples Of Monolog\Logger::info