Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
简游 committed May 26, 2022
1 parent 184757b commit 8e5f979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oplog/changestram_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package oplog
import (
"encoding/json"
"fmt"
LOG "github.com/vinllen/log4go"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/bson/primitive"
)
Expand Down Expand Up @@ -447,5 +448,6 @@ func ConvertEvent2Oplog(input []byte, fulldoc bool) (*PartialLog, error) {
oplog.Query = bson.D{}
}

LOG.Debug("ConvertEvent2Oplog Event[%v] to Oplog[%v]", event, oplog)
return oplog, nil
}

0 comments on commit 8e5f979

Please sign in to comment.