Open
Description
Describe the bug
Hi, I am not sure this is a bug or not. When I try to add Rollbar provider in ConfigureLogging as same as I do with AddConsole(). It will create 2 LoggerFactory and lead to cannot log to Console anymore.
Expected behavior
I expect that default LoggerFactory will have 2 providers: console & rollbar.
To Reproduce
- Create a new project with template type Worker Service
- Add Rollbar accesstoken & Environment to appsetting.json
- AddRollbar as in below picture.
Rollbar Client - Rollbar.NET Hosting Environment (please complete the following information):
- .NET flavor and its version: .NET Core 3.0
- Rollbar.NET Version: 3.7.1
Additional context
From Rollbar sourecode, I see function ILoggingBuilder AddRollbar try add RollbarLoggerFactory, I do not understand its purpose.