All files / src/config logger.config.ts

100% Statements 3/3
80% Branches 8/10
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 91x   1x            
import { registerAs } from '@nestjs/config';
 
export default registerAs('logger', () => ({
  level: process.env.LOG_LEVEL || 'info',
  serviceName: process.env.SERVICE_NAME || '1uy-backend',
  environment: process.env.NODE_ENV || 'development',
  jaegerEndpoint: process.env.JAEGER_ENDPOINT || 'http://localhost:14268/api/traces',
  zipkinEndpoint: process.env.ZIPKIN_ENDPOINT || 'http://localhost:9411/api/v2/spans',
}));