Sorry to hear that you are experiencing this issue. This warning usually appears when Microsoft Edge is being launched with an unsupported command-line parameter. Please check the Edge shortcut properties and verify if the Target field contains --log-net-log. If it does, remove that parameter, apply the changes, and restart Edge.
You can also open edge://version in Edge and check the Command Line section to identify where the flag is being added. If the flag keeps returning, please let me know if this is a personal device or a work-managed device, as a policy or another application may be adding it.