function testSetErrorLevel() { $this->log->setErrorLevel(LOG_WARNING); $this->log->log('info', LOG_INFO); $this->log->log('notice', LOG_NOTICE); $this->assertNull($this->_getLastLogEntry()); }