This commit is contained in:
2020-11-02 11:29:11 +03:00
parent 08ba577b27
commit 3ba52e60cf
7 changed files with 262 additions and 35 deletions

View File

@ -15,6 +15,10 @@ var (
stderr *log.Logger = log.New(os.Stderr, "", 0)
)
func init() {
SetEndOfLineNative()
}
func SetQuiet(enabled bool) {
if enabled {
stdout = devNull