lib/events, cmd/syncthing: Correct GlobalID in debug and mark "since" parameter optional
Skip-check: metalint GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4025
This commit is contained in:
@@ -166,8 +166,8 @@ func NewLogger() *Logger {
|
||||
|
||||
func (l *Logger) Log(t EventType, data interface{}) {
|
||||
l.mutex.Lock()
|
||||
dl.Debugln("log", l.nextGlobalID, t, data)
|
||||
l.nextGlobalID++
|
||||
dl.Debugln("log", l.nextGlobalID, t, data)
|
||||
|
||||
e := Event{
|
||||
GlobalID: l.nextGlobalID,
|
||||
|
||||
Reference in New Issue
Block a user