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