Skip to content

Commit

Permalink
Update bonus-log-controller.md
Browse files Browse the repository at this point in the history
Added full stops to

optionKey: string (default: logCtrl). 
routeConfig: object (default: {}).
  • Loading branch information
DamoGirling committed May 22, 2023
1 parent e5f307c commit a6fb816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posts/bonus-log-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ Now, if you call the `/route` route, you should see the `info` message in the co

The `fastify-log-controller` plugin accepts the following options:

- `optionKey: string` _(default: `logCtrl`)_
- `optionKey: string` _(default: `logCtrl`)_.
The property name used to set the log level of an encapsulated context or route.
- `routeConfig: object` _(default: `{}`)_ The object can contain the [Fastify route configuration](https://www.fastify.io/docs/latest/Reference/Routes/#routes-options).
- `routeConfig: object` _(default: `{}`)_. The object can contain the [Fastify route configuration](https://www.fastify.io/docs/latest/Reference/Routes/#routes-options).
The configuration of the `POST /log-level` route. You can't change only the `handler` and `schema` properties, so you will be able to add an authentication strategy.


Expand Down

0 comments on commit a6fb816

Please sign in to comment.