cleanup(shellx): do not directly depend on apex/log (#357)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user