src/sb/Logger/FileSystem.php
protected function getLogPath($log)
    {

        $dir = $this->log_root.'/'.$log.'/';

        if(!is_dir($dir)){
            mkdir($dir, 0777, true);
        }

        return $dir;
    }
protected function getLogPath($log)
    {

        $dir = $this->log_root.'/'.$log.'/';

        if(!is_dir($dir)){
            mkdir($dir, 0777, true);
        }

        return $dir;
    }
protected function getLogPath ( $ log ) { $ dir = $ this -> log_root . '/' . $ log . '/' ; if ( ! is_dir ( $ dir ) ) { mkdir ( $ dir , 0777 , true ) ; } return $ dir ; }
Grabs the log path based on the type of log
@param $log Sting the log type.  Should be in the $enabled_logs array
@return string The path to the log directory to be used
Grabs the log path based on the type of log