updated docs

This commit is contained in:
afeiszli
2021-08-10 10:02:15 -04:00
parent c799df59ce
commit b7b18f751e
45 changed files with 2482 additions and 1339 deletions

View File

@@ -0,0 +1,12 @@
package functions
import (
"log"
)
func PrintLog(message string, loglevel int) {
log.SetFlags(log.Flags() &^ (log.Llongfile | log.Lshortfile))
if loglevel == 0 {
log.Println(message)
}
}