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:
Simon Frei authored and Jakob Borg committed 2017-03-07 05:44:47 +00:00
1 parent 689f13f4f1
commit 1c29a93013
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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,