mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
doc(readme): update writing logs section wording.
This commit is contained in:
parent
ed0492c15e
commit
5c3876cd85
@ -423,7 +423,7 @@ func main() {
|
||||
f, _ := os.Create("gin.log")
|
||||
gin.DefaultWriter = io.MultiWriter(f)
|
||||
|
||||
// Use the following code if you need to write logs to file and console at the same time.
|
||||
// Use the following code if you need to write the logs to file and console at the same time.
|
||||
// gin.DefaultWriter = io.MultiWriter(f, os.Stdout)
|
||||
|
||||
router := gin.Default()
|
||||
|
Loading…
x
Reference in New Issue
Block a user