Files
AynaLivePlayer/config/config_log.go

18 lines
241 B
Go

package config
import "github.com/sirupsen/logrus"
type _LogConfig struct {
Path string
Level logrus.Level
}
func (c *_LogConfig) Name() string {
return "Log"
}
var Log = &_LogConfig{
Path: "./log.txt",
Level: logrus.InfoLevel,
}