Archived
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:
1 parent
689f13f4f1
commit
1c29a93013
2 files changed
+3
-3
No files matched your search
@@ -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