Home > @opengovsg/logging > SystemLoggerOptions > source
SystemLoggerOptions.source property
Where the log originated, e.g. trpc / rest. Bound as source. Accepts null (e.g. from headers.get).
Signature:
typescript
source?: string | null;