Skip to content

Home > @opengovsg/logging > LoggerOptions > clientIp

LoggerOptions.clientIp property ​

The originating client IP (vendor-neutral; not edge-specific). Bound as client_ip. Required key — pass null/undefined if the header is absent.

Signature:

typescript
clientIp: string | null | undefined;