Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs:add slog example in index.md #808

Closed
wants to merge 14 commits into from
1 change: 1 addition & 0 deletions content/en/docs/hertz/tutorials/example/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Hertz provides a series of code examples designed to help users get start with H
- [zap](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zap) :Example of docking with zap and lumberjack in hertz server
- [logrus](https://github.com/cloudwego/hertz-examples/tree/main/hlog/logrus) :Example of docking with logrus and lumberjack in hertz server
- [zerolog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zerolog) :Example of docking with zerolog and lumberjack in hertz server
- [slog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/slog) :Example of docking with slog and lumberjack in hertz server

### Opentelemetry
- [opentelemetry](https://github.com/cloudwego/hertz-examples/tree/main/opentelemetry) :Example of using obs opentelemetry for docking with opentelemetry
Expand Down
1 change: 1 addition & 0 deletions content/zh/docs/hertz/tutorials/example/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ Hertz 提供了一系列示例代码旨在帮助用户快速上手 Hertz 并了
- [zap](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zap) :在 hertz server 中对接 zap 和 lumberjack 的示例
- [logrus](https://github.com/cloudwego/hertz-examples/tree/main/hlog/logrus) :在 hertz server 中对接 logrus 和 lumberjack 的示例
- [zerolog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zerolog) :在 hertz server 中对接 zerolog 和 lumberjack 的示例
- [slog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/slog) :在 hertz server 中对接 slog 和 lumberjack 的示例

### Opentelemetry
- [opentelemetry](https://github.com/cloudwego/hertz-examples/tree/main/opentelemetry) :使用 obs-opentelemetry 的示例用于对接 opentelemetry
Expand Down
Loading