Fixed timestamp on logs
This commit is contained in:
parent
9bfe9d7713
commit
8f392abe70
@ -93,5 +93,5 @@ func (app *App) Information() {
|
|||||||
|
|
||||||
// Cewrites the log timestamp
|
// Cewrites the log timestamp
|
||||||
func (writer logWriter) Write(bytes []byte) (int, error) {
|
func (writer logWriter) Write(bytes []byte) (int, error) {
|
||||||
return fmt.Print(YellowS("[") + time.Now().UTC().Format("15:04:05") + YellowS("]") + string(bytes))
|
return fmt.Print(YellowS("[") + time.Now().Format("15:04:05") + YellowS("]") + string(bytes))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user