Repository navigation
Why Multiple logging methods cannot use the same event ID (SYSLIB1006)?
#70147
Unanswered
maxkoshevoi
asked this question in
Q&A
Replies: 2 comments 10 replies
|
They can, which is the reason this is a warning and not an error. It's just a bad practice. |
10 replies
|
Maybe Microsoft should get the docs straight.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SYSLIB1006 warning states that multiple logging methods cannot use the same event ID. But what's wrong with that?
https://docs.microsoft.com/en-us/dotnet/fundamentals/syslib-diagnostics/syslib1006
I've annotated my methods without event id, so it's always
-1and now I get a

SYSLIB1006warning.Is using event id mandatory? I don't use it in regular (not source generated) logs
All reactions