Skip to content

Home > @opengovsg/logging > LoggerOptions > userAgent

LoggerOptions.userAgent property ​

The client User-Agent. Bound as user_agent. Required key — pass null/undefined if the header is absent.

Signature:

typescript
userAgent: string | null | undefined;