Welcome to .NET Interactive Discussions! #1280
jonsequitur
started this conversation in
General
Replies: 1 comment
-
Is the .NET logging framework supported? The following doesn't display anything: using Microsoft.Extensions.Logging;
var loggerFactory = LoggerFactory.Create(builder => {
builder
.ClearProviders()
.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Debug)
.AddConsole();
});
var logger= loggerFactory.CreateLogger<Object>();
logger.LogInformation("It should display but doesn't. Why?"); |
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
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions