Merge branch 'master' into master

This commit is contained in:
intracomof authored and GitHub committed 2020-02-25 21:01:43 +02:00
commit e77c904f89
10 files changed
+111 -39

No files matched your search

+6
View File
@@ -3,6 +3,7 @@ package utils
import (
config "../models/config"
"fmt"
"os"
)
// Log - Write to std out
@@ -23,3 +24,8 @@ func Logf(format string, a ...interface{}) {
func LogFatal(format string, a ...interface{}) {
panic(fmt.Sprintf(format, a...))
}
// LogErr - Write error
func LogErr(format string, a ...interface{}) {
fmt.Fprintf(os.Stderr, format, a...)
}