george-maroun / tracecheck

GoLinter to identify improperly formatted logs and make suggestions to fix the logs
MIT License
3 stars 0 forks source link

Should not fix traceId if odd number of args found #1

Open george-maroun opened 1 year ago

george-maroun commented 1 year ago

Currently, the linter adds a traceId when one is missing even if the number of args is odd. Instead, the logger should throw an error when the the key-values pairs are invalid, and not attempt a fix.