segmentio/ecs-logs

use of apex logger discouraged - please replace

Opened this issue · 0 comments

Hi team. This logger prevents individual logging instances that can be effectively unit and unit-integration tested and we should not encourage its usage.

I highly encourage your team to look into slog or a different package such as zerolog. With the latest version of Go, the new slog package is available that offers a new standard for logging. Segment is also adopting Grafana Loki for log aggregation and having structured logging will unlock advanced log monitoring, which is huge, especially for incident response.