fehlerbehebung
This commit is contained in:
parent
2adfb327a6
commit
40e8edf551
4
func.go
4
func.go
|
@ -9,8 +9,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func logger(input string) {
|
func logger(input string) {
|
||||||
println("[" + time.Now().Format("11:06:39.1234") + "] " + input)
|
println("[" + time.Now().Format("15:04:05") + "] " + input)
|
||||||
fileAddLine("["+time.Now().Format("11:06:39.1234")+"] "+input, "./log/"+time.Now().Format("2006-02-01")+".log")
|
fileAddLine("["+time.Now().Format("15:04:05")+"] "+input, "./log/"+time.Now().Format("2006-02-01")+".log")
|
||||||
}
|
}
|
||||||
|
|
||||||
func handler() {
|
func handler() {
|
||||||
|
|
Loading…
Reference in New Issue