def METHOD_NAME():
    system = os_platform.system()
    if system == 'Darwin':
        cls = Darwin
    elif system == 'Linux':
        cls = Linux
    elif system == 'Windows':
        cls = Windows
    elif system in ('FreeBSD', 'NetBSD', 'OpenBSD', 'DragonFly'):
        cls = Unix
    else:
        logger.warning(_('unknown system "{}"; falling back to Unix.  Please report this.')
                       .format(system))
        cls = Unix
    logs.root.debug(f'using platform class {cls.__name__} for system "{system}"')
    return cls()