You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/10/13 10:10:27 UTC
[dubbo-go-samples] branch master updated: Update logger README.md
(#273)
This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 6f9034e Update logger README.md (#273)
6f9034e is described below
commit 6f9034e963cd88b42fc4f754debcc7e47a652dc1
Author: Laurence <45...@users.noreply.github.com>
AuthorDate: Wed Oct 13 18:10:20 2021 +0800
Update logger README.md (#273)
* Update README.md
* Update README.md
---
logger/README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/logger/README.md b/logger/README.md
index 512321b..16dd226 100755
--- a/logger/README.md
+++ b/logger/README.md
@@ -16,7 +16,7 @@ If you don't add a logger to the configuration file, the configuration log will
zap log format and level settings
```yaml
logger:
- zapConfig:
+ zap-config:
level: "debug"
development: false
disableCaller: false
@@ -57,7 +57,7 @@ logger.SetLoggerLevel("warn")
Add the lumberjackConfig item under the logger option in the configuration file
```yaml
-lumberjackConfig:
+lumberjack-config:
# The name of the log file
filename: "logs.log"
# The maximum size of each log file length whose unit is MiB. The default value is 100MiB.
@@ -97,4 +97,4 @@ Then call SetLogger method to set logger
```go
logger.SetLogger(&customLogger{})
-```
\ No newline at end of file
+```