Files
openlan/pkg/schema/log.go
2023-11-14 13:18:50 +08:00

16 lines
245 B
Go
Executable File

package schema
import "github.com/luscis/openlan/pkg/libol"
type Log struct {
File string `json:"file"`
Level int `json:"level"`
}
func NewLogSchema() Log {
return Log{
File: libol.Logger.FileName,
Level: libol.Logger.Level,
}
}