UNPKG

@starbemtech/star-node-stack-helper

Version:

A helper library for Node.js applications that provides utilities for AWS Secrets Manager integration and Elasticsearch/OpenSearch logging with enterprise-grade features.

17 lines (16 loc) 499 B
export interface PinoLoggerConfig { serviceName: string environment?: 'development' | 'staging' | 'production' | 'test' logLevel?: 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal' customSilentRoutes?: string[] customRedactPaths?: string[] customFormatters?: { level?: (label: string) => unknown log?: (object: unknown) => unknown } customSerializers?: { req?: (req: unknown) => unknown res?: (res: unknown) => unknown err?: (err: unknown) => unknown } }