getLogStatus() public static method

getLogStatus 取得某個 log 的狀態
public static getLogStatus ( mixed $group ) : void
$group mixed
return void
コード例 #1
0
 /**
  * Log Group 狀態
  */
 public function testEnableLog()
 {
     Pix_Table::enableLog(Pix_Table::LOG_CACHE);
     $this->assertEquals(Pix_Table::getLogStatus(Pix_Table::LOG_CACHE), true);
     Pix_Table::disableLog(Pix_Table::LOG_CACHE);
     $this->assertEquals(Pix_Table::getLogStatus(Pix_Table::LOG_CACHE), null);
 }