zhangzengfei
2022-01-24 6ee16e1d46ef47d227697691fc231ccc7cc384be
vaSystemLog.go
@@ -2,6 +2,16 @@
import "encoding/json"
const (
   DebugLevel = iota - 1
   InfoLevel
   WarnLevel
   ErrorLevel
   DPanicLevel
   PanicLevel
   FatalLevel
)
type VaSystemLog struct {
   ID         string `gorm:"column:id;primaryKey;unique;autoIncrement" json:"id"` // 主键id
   HostName   string `gorm:"column:hostName" json:"hostName"`                     // 主机名