Configurable logging
See original GitHub issueHello! Thanks for the great library.
I’ve been using it in my application for a while via nuget package ReportGenerator.Core, and now I wonder how to set up logging in a way that internal library logs are not printed to console, but instead redirected to the application-level logger (I’m using Serilog).
Is there a way to configure that? From what I see from source code, class loggers are resolved once, and are stored in static fields, which will prevent runtime reconfiguration.
Am I missing something?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
logging.config — Logging configuration
Describing a logging configuration requires listing the various objects to create and the connections between them; for example, you may create a handler...
Read more >Logging configuration
JBoss Logging is built into Quarkus and provides unified configuration for all supported logging APIs. Configure the runtime logging in the application.
Read more >Logging in .NET Core and ASP.NET Core
Configure logging. Logging configuration is commonly provided by the Logging section of appsettings.{ENVIRONMENT}.json files, where the { ...
Read more >Configure the Logging agent
You can configure the agent to stream additional logs; for details, go to Customizing the Logging agent configuration on this page. How the...
Read more >Logging
There are at least three ways to configure a logger: Using an INI-formatted file: Pro: possible to update configuration while running, using the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sure, that should be no problem.
I created a draft here: #446 What do you think?