Replies: 2 comments
-
Any answer ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found soultion from another topic; But here is additional problem; despite logging to file starts also console is shown with logs inside ; how can I avoid show console and log only into file ? Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am using WebView2 in my WPF application and in runtime I want to set some log file for webview2
Right now I setting env variable :
Environment.SetEnvironmentVariable("WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS", "--enable-logging=stderr --v=1 > log.txt 2>&1");
yes, it shows in console but not dump logs into file.
In this thread I found that here could be another option - using CoreWebView2EnvironmentOptions, but wasn't available in such time
https://stackoverflow.com/questions/65970320/how-can-we-add-environment-parameters-to-webview2-under-winui3
How can I do this ?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions