Ejemplo n.º 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');
 }
Ejemplo n.º 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');
 }