Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName plugin name
PluginName = "HistoryLogger"
)
把操作记录记录到日志文件中
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryLogger ¶
type HistoryLogger struct { }
HistoryLogger 历史记录logger
func (*HistoryLogger) Initialize ¶
func (h *HistoryLogger) Initialize(c *plugin.ConfigEntry) error
Initialize 插件初始化
func (*HistoryLogger) Record ¶
func (h *HistoryLogger) Record(entry *model.RecordEntry)
Record 记录操作记录到日志中
Click to show internal directories.
Click to hide internal directories.