Function createTestLogConfig
- createTestLogConfig(overrides?): Partial<ValueObject<{
environment: (() => "test" | "development" | "production");
fullDevLogs: (() => boolean);
healthEndpointPort: (() => number);
isDev: (() => boolean);
isProd: (() => boolean);
logLevel: (() => "" | "FATAL" | "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE");
logMaskKeywords: (() => string[]);
logMaskMaxDepth: (() => number);
secureLoggingMode: (() => MaskMode);
serviceId: (() => string);
}>>
-
Parameters
-
overrides: Dict<undefined | string> = {}
Returns Partial<ValueObject<{
environment: (() => "test" | "development" | "production");
fullDevLogs: (() => boolean);
healthEndpointPort: (() => number);
isDev: (() => boolean);
isProd: (() => boolean);
logLevel: (() => "" | "FATAL" | "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE");
logMaskKeywords: (() => string[]);
logMaskMaxDepth: (() => number);
secureLoggingMode: (() => MaskMode);
serviceId: (() => string);
}>>
Creates a config object to be used in tests.