Skip to content

Home > @opengovsg/logging > SystemLoggerOptions > userId

SystemLoggerOptions.userId property ​

The acting user's ID. Bound as user_id — the canonical user-correlation facet.

Signature:

typescript
userId?: string;