def fromFullPath(cls, filename, *args, **kwargs):
        """
        Construct a log file from a full file path.
        """
        logPath = os.path.abspath(filename)
        return cls(os.path.basename(logPath),
                   os.path.dirname(logPath), *args, **kwargs)

        Construct a log file from a full file path.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/logfile.py