add day to log as i can only login to ntg 30 times per week it seems
parent
9bb9929ff6
commit
e1b4460ebd
|
|
@ -82,7 +82,7 @@ func SetLevel(l Level) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func logf(l Level, format string, args []interface{}) {
|
func logf(l Level, format string, args []interface{}) {
|
||||||
format = fmt.Sprintf("%v: %v: %s\n", time.Now().Format("15:04:05"), l.String(), strings.TrimSpace(format))
|
format = fmt.Sprintf("%v: %v: %s\n", time.Now().Format("01-02T15:04:05"), l.String(), strings.TrimSpace(format))
|
||||||
cLevel := level
|
cLevel := level
|
||||||
cAnsoser := ansoser
|
cAnsoser := ansoser
|
||||||
if l >= cLevel {
|
if l >= cLevel {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue