mattn 11 anni fa
parent
commit
e2c2071e34
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md

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