Browse Source

Update README.md

mattn 11 năm trước cách đây
mục cha
commit
e2c2071e34
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -14,7 +14,7 @@ Colorable writer for windows
 ## Usage
 ## Usage
 
 
 ```go
 ```go
-logrus.SetOutput(colorable.NewColorableWriter())
+logrus.SetOutput(colorable.NewColorableStdout())
 
 
 logrus.Info("succeeded")
 logrus.Info("succeeded")
 logrus.Warn("not correct")
 logrus.Warn("not correct")