Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 608 Bytes

syslib1006.md

File metadata and controls

17 lines (12 loc) · 608 Bytes
title description ms.date f1_keywords
SYSLIB1006 warning
Learn about the diagnostic that generates compile-time warning SYSLIB1006.
05/07/2021
syslib1006

SYSLIB1006: Multiple logging methods cannot use the same event ID

Multiple methods annotated with the LoggerMessageAttribute are using the same event ID value. Event ID values must be unique within the scope of each assembly.

Workarounds

Review the event ID values used for all logging methods in the assembly and ensure they are unique.

[!INCLUDE suppress-syslib-warning]