You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get access to browser console from Uno/Wasm (Shared) project in order to write custom message somewhere in code? At the moment I am throwing an exception with custom message which allow me to somehow 'mimic debugging', but it is quite cumbersome (requires often recompilation).
Activity
jeromelaban commentedon Jun 27, 2018
There are two ways to do that:
this.Log().Debug("my message")to log.zbigniew-gajewski commentedon Jun 27, 2018
Console.WriteLine works - Thanks!
After adding logging code to App.xaml.cs and reloading page, the browser console shows:
jeromelaban commentedon Jun 27, 2018
This is an issue with the latest versions (2.0+) of microsoft's logging extensions. Use the version 1.1.1 instead, which does not use threads to log.
zbigniew-gajewski commentedon Jun 27, 2018
Works now! Thanks for help!
chore: MOAR LOGGING
chore: MOAR LOGGING