Exemplo n.º 1
0
// GenerateArgs generates the cli args to send when stating a plugin
func (p *pluginManager) GenerateArgs(logLevel int) plugin.Arg {
	return plugin.NewArg(logLevel)
}
Exemplo n.º 2
0
// GenerateArgs generates the cli args to send when stating a plugin
func (p *pluginManager) GenerateArgs(pluginPath string) plugin.Arg {
	pluginLog := filepath.Join(p.logPath, filepath.Base(pluginPath)) + ".log"
	return plugin.NewArg(pluginLog)
}