/** * @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'); }
/** * @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'); }