protected static function putLogFile($logFile, $info) {
        touch($logFile);

        if(!@file_put_contents($logFile, date("Y-m-d H:i:s") . ': ' . $info . "\n\n", FILE_APPEND) ||
            !@chmod($logFile, 0777)) {
            throw new \LogicException("LOG_FOLDER should be writable. Could not write log-entry.");
        }
    }