add day to log as i can only login to ntg 30 times per week it seems

master
bel 2022-01-27 07:44:30 -07:00
parent 9bb9929ff6
commit e1b4460ebd
1 changed files with 1 additions and 1 deletions

View File

@ -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 {