protected function getPath($filename, $serialized)
    {
        if ($serialized) {
            $filename = pathinfo($filename, PATHINFO_FILENAME) . '_serialized.log';
        }

        return LOGS . $filename;
    }