Add Support For Fluent Configuration of Logger Factories
Description
Currently, there is no fluent way to configure logger factories, and there is the need to use the LoggerProvider class, which is not very intuitive. I propose having an ordinary configuration property and a fluent method for configuring this.
Environment
None
Activity
Ricardo Peres April 17, 2015 at 6:15 PM
OK. Trickier than I thought because there are lots of static calls to LoggerFor even before Configuration/Environment has the chance to load the configuration and thus set the right logger.
Alex Zaytsev April 16, 2015 at 11:36 PM
Please do not submit a new pull request. Update the old one!
Ricardo Peres April 16, 2015 at 11:09 PM
The previous pull request is broken. Will try to submit a new one soon.
Currently, there is no fluent way to configure logger factories, and there is the need to use the LoggerProvider class, which is not very intuitive. I propose having an ordinary configuration property and a fluent method for configuring this.