ocurity / dracon

Security scanning & static analysis tool - forked and rewritten from @thought-machine/dracon
https://ocurity.com
Apache License 2.0
61 stars 8 forks source link

add structured dracon logging #190

Closed northdpole closed 1 month ago

northdpole commented 1 month ago

This PR leverages Go's log/slog package to add a default logger to every logging statement we have in the project. This allows us to change logging for all components easily and in the future be more flexible with smarter things like tracing or making groups out of our logs.

Enrichers do not have a base method for now so they don't get structured logging, this is coming in the next PR