adds configurable debugging of startup of processes and print out some info from the chrome viable() function for debugging purposes

This commit is contained in:
Thomas Bøgh Fangel
2019-06-13 15:59:06 +02:00
parent cfea2b8d9d
commit bbd0a893b1
7 changed files with 83 additions and 35 deletions

View File

@@ -6,9 +6,9 @@ type unoconv struct {
// NewUnoconv retruns a unoconv listener
// process.
func NewUnoconv() Process {
func NewUnoconv(debug bool) Process {
return &unoconv{
manager: &processManager{},
manager: &processManager{verbose: debug},
}
}