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
Similar to ASP.NET (.NET Framework), developers usually run the app from within Visual Studio and there's no console anywhere.
To get the data within the debugging panels of Visual Studio, one can't use Console.WriteLine. And instead requires Trace.WriteLine.
We're aware of that and changed the default on ASP.NET:
options.DiagnosticLogger ??= new TraceDiagnosticLogger(options.DiagnosticLevel);
We need to at least document this for MAUI users on Visual Studio. Or, if we can, figure out at runtime if we're on Visual Studio or not and toggle between Console and Trace.
The text was updated successfully, but these errors were encountered:
We need to at least document this for MAUI users on Visual Studio. Or, if we can, figure out at runtime if we're on Visual Studio or not and toggle between Console and Trace
Could we create a ConsoleAndTraceDiagnosticLogger and use that as default? That would work everywhere right?
From a customer cc @JLuse
Similar to ASP.NET (.NET Framework), developers usually run the app from within Visual Studio and there's no console anywhere.
To get the data within the debugging panels of Visual Studio, one can't use
Console.WriteLine
. And instead requiresTrace.WriteLine
.We're aware of that and changed the default on ASP.NET:
sentry-dotnet/src/Sentry.AspNet/SentryAspNetOptionsExtensions.cs
Line 35 in 5f0f087
We need to at least document this for MAUI users on Visual Studio. Or, if we can, figure out at runtime if we're on Visual Studio or not and toggle between Console and Trace.
The text was updated successfully, but these errors were encountered: