diff --git a/revid/cmd/h264-file-to-flv-rtmp/main.go b/revid/cmd/h264-file-to-flv-rtmp/main.go index c391ace8..70250df1 100644 --- a/revid/cmd/h264-file-to-flv-rtmp/main.go +++ b/revid/cmd/h264-file-to-flv-rtmp/main.go @@ -65,7 +65,7 @@ func main() { } revidInst, err := revid.New(config, nil) if err != nil { - log.Printf("Should not of have got an error!: %v\n", err.Error()) + config.Logger.Log(smartlogger.Error, "Should not have got an error!: ", err.Error()) return } revidInst.Start()