Magestead\Command\Log\ViewCommand::getLogLocation PHP 메소드

getLogLocation() 개인적인 메소드

private getLogLocation ( $server, $os ) : string
$server
$os
리턴 string
    private function getLogLocation($server, $os)
    {
        $location = 'nginx';
        if ($server != 'nginx') {
            $location = $os == 'ubuntu14' ? 'apache2' : 'httpd';
        }
        return $location;
    }