fehlerbehebung
This commit is contained in:
parent
0ee6681bfa
commit
29d0cdf1f4
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