On this page - <https://docs.pact.io/implementatio...
# documentation
s
On this page - https://docs.pact.io/implementation_guides/javascript/docs/provider The hyperlink in the screenshot is broken, I want to set the logLevel environment variable, may I know what is it or where can I find it?
m
I think that property is actually now supported and accepts what it did previously. Can you please raise an issue on the pact JS GitHub page?
👍 1
I'd just follow the typescript type definition until we fix that
The examples also should set a log level
s
I am using this version
@pact-foundation/pact": "^9.16.4
, and the
logLevel
doesn't seem to be working irrespective of the value set.
m
Make sure you're looking at the 9.x.x docs not the 10
Again, the TS types should give proper IDE hints
s
ouch, good catch 🙂 I'll check that. Thanks 🙏
👍 1