Merge branch 'feature_0.7.1_refactor' of https://github.com/gravitl/netmaker into feature_0.7.1_refactor

This commit is contained in:
worker-9
2021-08-10 10:56:06 -04:00
45 changed files with 2482 additions and 1339 deletions

Binary file not shown.

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)
}
}