You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that some of the classes make use of LoggerFactory, and that an example app has a section "Using dependency injection and console logging". Is it possible to use the latter without the former? If so, could you maybe add a doc section about a basic method/example to grab these messages in the 'client' code?
The text was updated successfully, but these errors were encountered:
The LoggerFactory interface is from Microsoft.Extensions.Logging which is for example used with ASP.net Core. The loggerfactory interface is injected using property injection like this:
new GraphQLFieldBuilder() { LoggerFactory = provider.GetService<ILoggerFactory>() }
I see that some of the classes make use of LoggerFactory, and that an example app has a section "Using dependency injection and console logging". Is it possible to use the latter without the former? If so, could you maybe add a doc section about a basic method/example to grab these messages in the 'client' code?
The text was updated successfully, but these errors were encountered: