mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-24 02:32:17 +08:00
doc(readme): fix word formatting
This commit is contained in:
parent
5c3876cd85
commit
f1b68e3e24
@ -419,7 +419,7 @@ func main() {
|
|||||||
// Disable Console Color, you don't need console color when writing the logs to file.
|
// Disable Console Color, you don't need console color when writing the logs to file.
|
||||||
gin.DisableConsoleColor()
|
gin.DisableConsoleColor()
|
||||||
|
|
||||||
//Logging to a file
|
// Logging to a file.
|
||||||
f, _ := os.Create("gin.log")
|
f, _ := os.Create("gin.log")
|
||||||
gin.DefaultWriter = io.MultiWriter(f)
|
gin.DefaultWriter = io.MultiWriter(f)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user