mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 18:32:50 +08:00
18 lines
241 B
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,
|
|
}
|