public void DoSomeWork() { //Run program structure from here. _logger.LogInformation("Doing Work"); _injectedService.ExampleLogging("Starting Injected Service"); _nestedService.ExampleLogging("Logging from Nested Service"); }
public void ExampleLogging(string message) { _nestedService.ExampleLogging(message); }