Skip to content

Commit

Permalink
docs(readme): add log filtering to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Apr 9, 2024
1 parent af7d9ec commit 94a41ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ app.listen(3000)
| ------------------ | --------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `ip` | `boolean` | Display the incoming IP address based on the `X-Forwarded-For` header | `false` |
| `customLogMessage` | `string` | Custom log message to display | `🦊 {now} {level} {duration} {method} {pathname} {status} {message} {ip}` |
| `logFilter` | `object` | Filter the logs based on the level, method, and status | `null` |

## `📄` License

Expand Down

0 comments on commit 94a41ed

Please sign in to comment.