All my API hosted in azure function , uses common classes which provides business logic and util function. When logging in those classes , i have to pass on log object and context object to refer files. Is there a way to inject them as dependency to my classes?
All my API hosted in azure function , uses common classes which provides business logic and util function. When logging in those classes , i have to pass on log object and context object to refer files. Is there a way to inject them as dependency to my classes?