public function getLogThreshold()
    {
        $returnValue = (int) 0;


        $threshold = 0;
        while (($this->mask & 1<<$threshold) == 0){
        	$threshold++;
        }
        $returnValue = $threshold;


        return (int) $returnValue;
    }