FastFeed\Logger\Logger::info PHP Method

info() public method

Example: User logs in, SQL logs.
public info ( string $message, array $context = [] ) : null
$message string
$context array
return null
    public function info($message, array $context = array())
    {
        $this->log('info', $message, $context);
    }

Usage Example

Esempio n. 1
0
 public function testLogger()
 {
     $this->logger->emergency('testing Logger');
     $this->logger->alert('testing Logger');
     $this->logger->critical('testing Logger');
     $this->logger->error('testing Logger');
     $this->logger->warning('testing Logger');
     $this->logger->notice('testing Logger');
     $this->logger->info('testing Logger');
     $this->logger->debug('testing Logger');
     $this->assertTrue(true);
 }