debug() публичный Метод

public debug ( $message, $params = null )
Пример #1
0
 /**
  * @test
  */
 public function shouldIgnoreDebugMessageIfDebugIsOff()
 {
     //given
     Config::overrideProperty('debug')->with(false);
     //when
     $this->logger->debug('My debug log line without params.');
     //then
     $logContent = $this->_readStreamContent('test://stdout');
     Assert::thatString($logContent)->hasSize(0);
 }