Working docker containerization
This commit is contained in:
12
app/Tools/utils.go
Normal file
12
app/Tools/utils.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package Tools
|
||||
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
)
|
||||
|
||||
// InitLog ensure log file exists and set appropriate flags (remove timestamp at start of line).
|
||||
func InitLog() {
|
||||
log.SetOutput(os.Stdout)
|
||||
log.SetFlags(log.Flags() &^ (log.Ldate | log.Ltime))
|
||||
}
|
||||
Reference in New Issue
Block a user