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
{{ message }}
Repository navigation
Move Logging Source Generator to MS.Extensions.Logging.Abstractions #52222
Library authors today can use the LoggerMessage.Define APIs and log messages by only referencing Microsoft.Extensions.Logging.Abstractions.
However, in order to use the new Logging source generation feature, they now need to reference Microsoft.Extensions.Logging as well.
We should move the source generator and attribute to Microsoft.Extensions.Logging.Abstractions, so library authors don't need to change their references to use this new feature.
Reacted by Maryam Ariyan, David Fowler and Günther Foidl
If we have consensus with stakeholders, I think this could be an "email only" API review. None of the API shape would change, just which assembly it is contained in.
I guess I would get buy-off with all the stakeholders before working on it.
Seems fine to me. Moving things is fine in previews without type-forwards. I don’t even think there is a case where folks would notice the move, since there is no scenario for runtime consumption nor design-time binary consumption of the type from it's old location.
Activity
maryamariyan commentedon May 3, 2021
@eerhardt OK to work on this without discussing over API review meetings?
eerhardt commentedon May 4, 2021
If we have consensus with stakeholders, I think this could be an "email only" API review. None of the API shape would change, just which assembly it is contained in.
I guess I would get buy-off with all the stakeholders before working on it.
davidfowl commentedon May 4, 2021
+1 on this moving
Move Logging Generator and LoggerMessageAttribute to Logging.Abstract…
ericstj commentedon May 4, 2021
Seems fine to me. Moving things is fine in previews without type-forwards. I don’t even think there is a case where folks would notice the move, since there is no scenario for runtime consumption nor design-time binary consumption of the type from it's old location.
Move Logging Generator and attribute to Logging.Abstractions (#52256)