Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
增加debug日志内容
Browse files Browse the repository at this point in the history
  • Loading branch information
lianhong2758 committed Sep 11, 2023
1 parent fe2a554 commit 3b3595f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ctx/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var (

// 注册插件
func Register(pluginName string, p *PluginData) *PluginData {
log.Debugln("插件注册:", pluginName)
plugins[pluginName] = p
if file.IsNotExist(p.DataFolder) && p.DataFolder != "" {
_ = os.MkdirAll("data/"+p.DataFolder, 0755)
Expand Down

0 comments on commit 3b3595f

Please sign in to comment.