doc(readme): fix a typo (#548)

Co-authored-by: jirasak <jirasak@lmwn.com>
This commit is contained in:
Koung 2023-05-01 19:04:49 +07:00 committed by GitHub
parent a712f61936
commit 927516bcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ stdlog.Print("hello world")
### context.Context integration ### context.Context integration
The `Logger` isntance could be attached to `context.Context` values with `logger.WithContext(ctx)` The `Logger` instance could be attached to `context.Context` values with `logger.WithContext(ctx)`
and extracted from it using `zerolog.Ctx(ctx)`. and extracted from it using `zerolog.Ctx(ctx)`.
Example to add logger to context: Example to add logger to context: