Closed stevenKirill closed 1 year ago
Yes, Log doesn't exist on that type. Have we documented it somewhere that we have?
There is an open feature request for logging to file here: #954. Closing this (unless it's a different big/feature, please reopen and clarify if that's the case).
The missing log
parameter isn't mentioned in the migration instructions.
It looks like the migration instructions aren't a distillation of the notes on breaking changes - for example, the verifier instructions say no changes required, but there were actually several changes to the options detailed here
Yes that's a good point, i'll raise a separate tracking issue for that now.
Software versions
18
Issue Checklist
Please confirm the following:
Expected behaviour
correct type fot log property
Actual behaviour
log doesn't exist
Steps to reproduce
export const provider = new PactV3({ consumer: 'gpb-expert-consumer', provider: 'gpb-expert-provider', logLevel: 'info', log: path.resolve(process.cwd(), 'logs', 'pact.log'), dir: path.resolve(process.cwd(), 'pacts'), spec: SpecificationVersion.SPECIFICATION_VERSION_V2, });
Relevan
t log files