cleanup(shellx): do not directly depend on apex/log (#357)

This commit is contained in:
Simone Basso
2021-06-04 14:02:18 +02:00
committed by GitHub
parent 944d3c53fa
commit 39aec6677d
8 changed files with 52 additions and 39 deletions
@@ -80,12 +80,12 @@ func (managerDarwin) LogShow() error {
if major < 20 /* macOS 11.0 Big Sur */ {
return errNotImplemented
}
return shellx.Run("log", "show", "--info", "--debug",
return shellx.Run(log.Log, "log", "show", "--info", "--debug",
"--process", "ooniprobe", "--style", "compact")
}
func (managerDarwin) LogStream() error {
return shellx.Run("log", "stream", "--style", "compact", "--level",
return shellx.Run(log.Log, "log", "stream", "--style", "compact", "--level",
"debug", "--process", "ooniprobe")
}