I wrote this analyzer because my team so many different tools to write code and I wanted to see if it's possible to write an analyzer that would produce consistent logs across all the teams.
💡 This project is purely a learning project and not intended to be used by others.
Id | Description | Severity | Is enabled |
---|---|---|---|
LOG001 | Prefer extension method over Log(Level...) | ℹ️ | ✔️ |
LOG002 | Avoid trailing period in messages, because log messages are fragments, not sentences. | ℹ️ | ✔️ |
LOG003 | Prefer named arguments over numeric positions | ✔️ | |
LOG004 | Naming rules require arguments to start with upper case | ℹ️ | ✔️ |
LOG005 | Named arguments must be unique | ✔️ | |
LOG006 | Exceptions must not be part of parameter arguments | ✔️ |