process.env variables or custom provided values
Optional
logger: LoggerFnThe following configuration values are included:
environment // e.g. NODE_ENV=development
serviceId // e.g. SERVICE_ID=my-business-service
logLevel // e.g. LOG_LEVEL=INFO
healthEndpointPort // e.g. HEALTH_ENDPOINT_PORT=9000
secureLoggingMode // e.g. SECURE_LOGGING_MODE=UNSAFE_SECRETS_NOT_HIDDEN_UNSAFE
logMaskKeywords // e.g. LOG_MASK_KEYWORDS=secret,password,connectionString
logMaskMaxDepth // e.g. LOG_MASK_MAX_DEPTH=10
fullDevLogs // e.g. FULL_DEV_LOGS=true
isDev // true for NODE_ENV=development
isProd // true for NODE_ENV=production
NODE_ENV=development
FULL_DEV_LOGS=true
HEALTH_ENDPOINT_PORT=9000
NODE_ENV=development
NODE_ENV=production
LOG_LEVEL=INFO
LOG_MASK_KEYWORDS=secret,password,connectionString
LOG_MASK_MAX_DEPTH=10
SECURE_LOGGING_MODE=UNSAFE_DEBUG_UNSAFE
SERVICE_ID=my-business-service
Generated using TypeDoc
Get the basic configuration definitions that are used for most mosaic services