예제 #1
0
 /**
  * @dataProvider getBackendsToTest
  */
 public function testLogMessagesAreTrimmed($backend)
 {
     $this->recreateLogSingleton($backend);
     LoggerWrapper::doLog(" \n   " . self::TESTMESSAGE . "\n\n\n   \n");
     $this->checkBackend($backend, self::TESTMESSAGE, $formatMessage = true, 'Monolog');
 }
예제 #2
0
 /**
  * @dataProvider getBackendsToTest
  */
 public function testLogMessagesAreTrimmed($backend)
 {
     Config::getInstance()->log['log_writers'] = array($backend);
     LoggerWrapper::doLog(" \n   " . self::TESTMESSAGE . "\n\n\n   \n");
     $this->checkBackend($backend, self::TESTMESSAGE, $formatMessage = true, 'Monolog');
 }