Skip to content

Commit c205d10

Browse files
authored
docs: add example of slog in index.md (#811)
1 parent 795f601 commit c205d10

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

content/en/docs/hertz/tutorials/example/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Hertz provides a series of code examples designed to help users get start with H
122122
- [zap](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zap) :Example of docking with zap and lumberjack in hertz server
123123
- [logrus](https://github.com/cloudwego/hertz-examples/tree/main/hlog/logrus) :Example of docking with logrus and lumberjack in hertz server
124124
- [zerolog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zerolog) :Example of docking with zerolog and lumberjack in hertz server
125+
- [slog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/slog) :Example of docking with slog and lumberjack in hertz server
125126

126127
### Opentelemetry
127128
- [opentelemetry](https://github.com/cloudwego/hertz-examples/tree/main/opentelemetry) :Example of using obs opentelemetry for docking with opentelemetry

content/zh/docs/hertz/tutorials/example/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Hertz 提供了一系列示例代码旨在帮助用户快速上手 Hertz 并了
121121
- [zap](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zap) :在 hertz server 中对接 zap 和 lumberjack 的示例
122122
- [logrus](https://github.com/cloudwego/hertz-examples/tree/main/hlog/logrus) :在 hertz server 中对接 logrus 和 lumberjack 的示例
123123
- [zerolog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/zerolog) :在 hertz server 中对接 zerolog 和 lumberjack 的示例
124+
- [slog](https://github.com/cloudwego/hertz-examples/tree/main/hlog/slog) :在 hertz server 中对接 slog 和 lumberjack 的示例
124125

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

0 commit comments

Comments
 (0)