6
xsid
7y

Perfect use of DI in .NET Core project.

> Passed logger object in UI project's controller class constructor.
> Then pass it to internal class.
> Then pass it to business project.
> Then pass it to another class and finally used logger in a method to log exceptions in try-catch

Comments
  • 0
    > Except that the error originated within logger..
    > And it’s part of a nugget package..
Add Comment