/** * @dataProvider logLevelMappings */ public function testGetAppEngineLogLevel($syslog_level, $gae_level) { $this->assertEquals($gae_level, LogService::getAppEngineLogLevel($syslog_level)); }
public function testGetAppEngineLogLevel() { $this->assertEquals(0, LogService::getAppEngineLogLevel(LOG_DEBUG)); $this->assertEquals(LogService::LEVEL_CRITICAL, LogService::getAppEngineLogLevel(LOG_EMERG)); }