vmware-tanzu / secrets-manager

VMware Secrets Manager is a lightweight secrets manager to protect your sensitive data. It’s perfect for edge deployments where energy and footprint requirements are strict—See more: https://vsecm.com/
https://vsecm.com/
BSD 2-Clause "Simplified" License
159 stars 26 forks source link

Use a machine-readable format for logs #100

Open v0lkan opened 1 year ago

v0lkan commented 1 year ago

Zap, as a structured logger, is a great candidate for example: https://github.com/uber-go/zap

A structured log will make things more portable too.

v0lkan commented 1 year ago

Looks like go as of recent versions have native structured log support.

We can use it instead of introducing another library.

v0lkan commented 1 year ago

ref: https://go.dev/blog/slog