AlexStocks commented on a change in pull request #256:
URL: https://github.com/apache/dubbo-go-samples/pull/256#discussion_r716017336
##########
File path: logger/README.md
##########
@@ -70,3 +71,28 @@ lumberjackConfig:
# Whether to compress the log file, the compression method is gzip
compress: false
```
+
+#### coustom logger
+
+Custom logger needs to implement the logger interface in the logger package
+
+```go
+type Logger interface {
+ Info(args ...interface{})
+ Warn(args ...interface{})
+ Error(args ...interface{})
+ Debug(args ...interface{})
Review comment:
pls add Fatal()
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]