mirror of
https://github.com/Starlio-app/StarlioX
synced 2024-11-06 06:13:57 +03:00
The logs now show only the time (hh:mm:ss)
This commit is contained in:
parent
5f41bfcc78
commit
d054fb63a9
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ func Logger(text string) {
|
||||||
lineString = fmt.Sprintf("%d", line)
|
lineString = fmt.Sprintf("%d", line)
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = f.Write([]byte(now.Format("Mon Jan 2 15:04:05 2006") + " | " + text + " [" + file + "] [" + lineString + "]\n"))
|
_, err = f.Write([]byte(now.Format("15:04:05") + " | " + text + " [" + file + "] [" + lineString + "]\n"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue