update hrp plugin (#1668)

* change: upgrade go mod zerolog

* change: relocate ocr_test

* refactor: init logger

* change: hrp exit log

* change: update logs

* change: upgrade funplugin to 0.5.2

* change: update change log
This commit is contained in:
debugtalk
2023-08-11 15:34:49 +08:00
committed by GitHub
parent 0332e8302c
commit ee04fb5702
22 changed files with 113 additions and 144 deletions

View File

@@ -53,7 +53,7 @@ func initPlugin(path, venv string, logOn bool) (plugin funplugin.IPlugin, err er
return p.(funplugin.IPlugin), nil
}
pluginOptions := []funplugin.Option{funplugin.WithLogOn(logOn)}
pluginOptions := []funplugin.Option{funplugin.WithDebugLogger(logOn)}
if strings.HasSuffix(pluginPath, ".py") {
// register funppy plugin