events
events copied to clipboard
Intercept frequently used attributes like trace id, workspace id
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 a good idea to expose middleware like API to intercept the logger where we can add such repeatedly used attributes.
Inspired by: morgan