Skip to content

Commit

Permalink
Fix broken link to logging guide
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmukuthu committed May 17, 2020
1 parent 44964c8 commit 4dfd604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TypeScript.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ server.get('/', async (request, reply) => {

###### Example 5: Specifying logger types

Fastify uses the [Pino](http://getpino.io/#/) logging library under the hood. While the Fastify type system does provide the necessary types for you to use the included logger, if you'd like the specificity of the Pino types install them from `@types/pino` and pass the `pino.Logger` type to the fourth generic parameter. This generic also supports custom logging utilities such as creating custom serializers. See the [Logging]() documentation for more info.
Fastify uses the [Pino](http://getpino.io/#/) logging library under the hood. While the Fastify type system does provide the necessary types for you to use the included logger, if you'd like the specificity of the Pino types install them from `@types/pino` and pass the `pino.Logger` type to the fourth generic parameter. This generic also supports custom logging utilities such as creating custom serializers. See the [Logging](./Logging.md) documentation for more info.

```typescript
import fastify from 'fastify'
Expand Down

0 comments on commit 4dfd604

Please sign in to comment.