From 1335ed6cdc80436243db9137b4ea56ba63f7992f Mon Sep 17 00:00:00 2001 From: aonoa <32682251+aonoa@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:02:11 +0800 Subject: [PATCH] Update 05-log.md (#220) --- docs/component/05-log.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/component/05-log.md b/docs/component/05-log.md index eb0e0a12e..36ef67da9 100644 --- a/docs/component/05-log.md +++ b/docs/component/05-log.md @@ -92,7 +92,7 @@ Kratos日志库使用十分简单,和大部分日志库类似。 ```go // 输出到控制台 -l := log.DefaultLogged +l := log.DefaultLogger l.Log(log.LevelInfo, "stdout_key", "stdout_value") // 输出到 ./test.log 文件