events
events copied to clipboard
Go package for routing, formatting and publishing events produced by a program.
It would be nice if segmentio/events created sentry breadcrumbs for each log event. Looking at this Sentry issue, https://github.com/getsentry/sentry-go/issues/43, it seems like the implementation would be something like this: https://github.com/getsentry/sentry-go/issues/43#issuecomment-687436204
Apex has an interface called `log.Fielder` https://godoc.org/github.com/apex/log#Fielder. This lets custom types conform to this interface. For instance the struct: ``` type Foo struct { ID string } func (f Foo)...
Most of the time while designing the web application, we repeatedly log things like `x-trace-id`, `request-id`. Specific to segment's use-case `WorkspaceID` is also one mostly being logged. Wouldn't that be...