log to file

This commit is contained in:
YouROK
2021-01-27 15:24:59 +03:00
parent 6ca69fb51c
commit 189a8e60fa

View File

@@ -15,6 +15,7 @@ func Init(path string) {
os.Stdout = ff
os.Stderr = ff
log.SetOutput(ff)
}
}