cross-posted from: https://programming.dev/post/8419041
I'm just trying out the built-in builder.Logging.AddDebug(); in a MAUI app, but don't see the output anywhere. From several blogs I expected to see the messages in the Visual Studio Debug output window, but they aren't appearing.
Just using the stock-standard MAUI app, the only changes I have made are in App.cs as follows...
using Microsoft.Extensions.Logging; using Microsoft.Maui.Controls; namespace BaseMAUIApp; internal class App :Application { public App(ILogger<App> logger) { logger.LogDebug("******************* Message from logger!"); // rest of code...
But I don't see my message anywhere. Is there something else I have to configure, or somewhere else I have to look?
You must log in or register to comment.