mirror of
https://github.com/luscis/openlan.git
synced 2025-10-06 09:06:54 +08:00
16 lines
245 B
Go
Executable File
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,
|
|
}
|
|
}
|