cli: Change timestamp to microseconds precision in log (#489)
This commit is contained in:
parent
d560c4e753
commit
b50c2936a1
|
@ -7,8 +7,8 @@ import (
|
|||
"github.com/tus/tusd/pkg/handler"
|
||||
)
|
||||
|
||||
var stdout = log.New(os.Stdout, "[tusd] ", log.Ldate|log.Ltime)
|
||||
var stderr = log.New(os.Stderr, "[tusd] ", log.Ldate|log.Ltime)
|
||||
var stdout = log.New(os.Stdout, "[tusd] ", log.LstdFlags|log.Lmicroseconds)
|
||||
var stderr = log.New(os.Stderr, "[tusd] ", log.LstdFlags|log.Lmicroseconds)
|
||||
|
||||
func logEv(logOutput *log.Logger, eventName string, details ...string) {
|
||||
handler.LogEvent(logOutput, eventName, details...)
|
||||
|
|
Loading…
Reference in New Issue