Set logging preferences via command line flags. Closes #20

This commit is contained in:
Gabe Kangas
2020-07-06 21:27:31 -07:00
parent 1133edf716
commit 259923b303
12 changed files with 38 additions and 22 deletions

View File

@ -65,7 +65,7 @@ func (v *VideoSize) getString() string {
func (t *Transcoder) Start() {
command := t.getString()
log.Printf("Video transcoder started with %d stream variants.", len(t.variants))
log.Tracef("Video transcoder started with %d stream variants.", len(t.variants))
_, err := exec.Command("sh", "-c", command).Output()
if err != nil {