Dependency injection and named loggers

前端 未结 5 1677
不思量自难忘°
不思量自难忘° 2020-12-02 05:22

I am interested in learning more about how people inject logging with dependency injection platforms. Although the links below and my examples refer to log4net and Unity, I

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 05:53

    I see you figured out your own answer :) But, for folks in the future that have this question about how to NOT tie yourself to a particular logging framework, this library: Common.Logging helps with exactly that scenario.

提交回复
热议问题