Skip to content

Commit

Permalink
Remove next logger name since it gets overridden anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityamamallan committed Aug 13, 2024
1 parent dee1ebd commit d0899b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/logger/pino/pino-next-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ import LOGGER_CONFIG from './pino.config';
import { type CustomLevels } from './pino.types';

const getNextLogger = (nextLoggerConfig: LoggerOptions<CustomLevels>) =>
pino<CustomLevels>({ ...nextLoggerConfig, ...LOGGER_CONFIG, name: 'next' });
pino<CustomLevels>({ ...nextLoggerConfig, ...LOGGER_CONFIG });

export default getNextLogger;

0 comments on commit d0899b1

Please sign in to comment.