From 547e24da7dd0fbda72277048b0565a19df6596a4 Mon Sep 17 00:00:00 2001 From: saxon Date: Tue, 11 Sep 2018 18:39:52 +0930 Subject: [PATCH] main: actually used logger in driver for h264 file to flv rtmp --- revid/cmd/h264-file-to-flv-rtmp/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()