mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 21:43:30 +00:00
set log level to info in examples
add verbose flag to vm-cli example update readme for vm-cli example
This commit is contained in:
@@ -2,10 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/onyx-and-iris/voicemeeter"
|
||||
|
||||
"github.com/andreykaipov/goobs"
|
||||
@@ -41,6 +42,10 @@ func onEnd(vm *voicemeeter.Remote) {
|
||||
vm.Vban.InStream[0].SetOn(false)
|
||||
}
|
||||
|
||||
func init() {
|
||||
log.SetLevel(log.InfoLevel)
|
||||
}
|
||||
|
||||
func main() {
|
||||
vm, err := vmConnect()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user