We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ecb6e commit 61a7587Copy full SHA for 61a7587
packages/node-core/src/integrations/pino.ts
@@ -83,7 +83,7 @@ type DeepPartial<T> = {
83
84
const _pinoIntegration = defineIntegration((userOptions: DeepPartial<PinoOptions> = {}) => {
85
const options: PinoOptions = {
86
- autoInstrument: 'autoInstrument' in userOptions ? !!userOptions.autoInstrument : DEFAULT_OPTIONS.autoInstrument,
+ autoInstrument: userOptions.autoInstrument === false ? userOptions.autoInstrument : DEFAULT_OPTIONS.autoInstrument,
87
error: { ...DEFAULT_OPTIONS.error, ...userOptions.error },
88
log: { ...DEFAULT_OPTIONS.log, ...userOptions.log },
89
};
0 commit comments