def log_current_versions():
if logger.root.isEnabledFor(logging.DEBUG):<EOL><INDENT>if sys.platform == "<STR_LIT>":<EOL><INDENT>os_version = "<STR_LIT>".format(platform.mac_ver()[<NUM_LIT:0>])<EOL><DEDENT>elif sys.platform.startswith("<STR_LIT>"):<EOL><INDENT>os_version = "<STR_LIT>".format(platform.system(), platform.release())<EOL><DEDENT>else:<EOL><INDENT>os_version = platform.platform()<EOL><DEDENT>log.debug("<STR_LIT>".format(os_version))<EOL>log.debug("<STR_LIT>".format(platform.python_version()))<EOL>log.debug("<STR_LIT>".format(streamlink_version))<EOL>log.debug("<STR_LIT>".format(<EOL>requests.__version__, socks_version, websocket_version))<EOL><DEDENT>
Show current installed versions