Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions website/docs/help/enabling-debug-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,19 @@ TBC

## Pact PHP

**9.x.x**

You can either set the `PACT_LOGLEVEL` environment variable or call `$config->setLogLevel($logLevel);` to the top of your test.
You can either set the `PACT_LOGLEVEL` environment variable (if using `MockServerEnvConfig`) or add `$config->setLogLevel($logLevel);` to the top of your test.

Available values for `$logLevel` are:

**9.x.x**

* `DEBUG`
* `INFO`
* `WARN`
* `ERROR`

**10.x.x**

You can call `$config->setLogLevel($logLevel);` to the top of your test.

Available values for `$logLevel` are:

* `TRACE`
* `DEBUG`
* `INFO`
Expand Down