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
If I'm not mistaken, the ProviderAliasAttribute class should rather be defined in the Microsoft.Extensions.Logging.Abstractions package than in the Microsoft.Extensions.Logging package.
Defining a new logging provider doesn't need anything beyond the Microsoft.Extensions.Logging.Abstractions package — except for the ProviderAliasAttribute.
Being required to include the Microsoft.Extensions.Logging package instead of the Microsoft.Extensions.Logging.Abstractions package adds an unnecessary attack surface and dependencies, I think.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I'm not mistaken, the
ProviderAliasAttribute
class should rather be defined in theMicrosoft.Extensions.Logging.Abstractions
package than in theMicrosoft.Extensions.Logging
package.Defining a new logging provider doesn't need anything beyond the
Microsoft.Extensions.Logging.Abstractions
package — except for theProviderAliasAttribute
.Being required to include the
Microsoft.Extensions.Logging
package instead of theMicrosoft.Extensions.Logging.Abstractions
package adds an unnecessary attack surface and dependencies, I think.Beta Was this translation helpful? Give feedback.
All reactions