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
It passes to line 3 but gives the following error at hostBuilder.build()
Here is the definition of the ExtensionsLoggerDecorator class
public class ExtensionsLoggerDecorator : ILogger {
// All interface classes implemented
}
I have installed the latest version https://www.nuget.org/packages/Scrutor and using .NET 6. I am trying to accomplish a wrapper/decorator for my ILogging implementation so that all logs pass through my custom class before getting logged by openTelemetry.
Please tell me what I am doing wrong here or is it a bug?
The text was updated successfully, but these errors were encountered:
Hi @khellang trying to register my ILogger service like this:-
Method 1:
It gives the following error at line 2:-
Method 2:
It passes to line 3 but gives the following error at hostBuilder.build()
Here is the definition of the ExtensionsLoggerDecorator class
I have installed the latest version https://www.nuget.org/packages/Scrutor and using .NET 6. I am trying to accomplish a wrapper/decorator for my ILogging implementation so that all logs pass through my custom class before getting logged by openTelemetry.
Please tell me what I am doing wrong here or is it a bug?
The text was updated successfully, but these errors were encountered: