diff --git a/content/en/docs/hertz/tutorials/example/_index.md b/content/en/docs/hertz/tutorials/example/_index.md index 5ce492f646..d54c6e2d7b 100644 --- a/content/en/docs/hertz/tutorials/example/_index.md +++ b/content/en/docs/hertz/tutorials/example/_index.md @@ -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 diff --git a/content/zh/docs/hertz/tutorials/example/_index.md b/content/zh/docs/hertz/tutorials/example/_index.md index 58f6f11220..19eccbda6d 100644 --- a/content/zh/docs/hertz/tutorials/example/_index.md +++ b/content/zh/docs/hertz/tutorials/example/_index.md @@ -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