Skip to content

Commit

Permalink
Update 05-log.md (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
aonoa authored Oct 15, 2024
1 parent c5466e5 commit 1335ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/component/05-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Kratos日志库使用十分简单,和大部分日志库类似。

```go
// 输出到控制台
l := log.DefaultLogged
l := log.DefaultLogger
l.Log(log.LevelInfo, "stdout_key", "stdout_value")

// 输出到 ./test.log 文件
Expand Down

0 comments on commit 1335ed6

Please sign in to comment.