mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-05 05:00:09 +00:00
Initial commit
This commit is contained in:
19
conf/log.go
Normal file
19
conf/log.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package conf
|
||||
|
||||
type Log struct {
|
||||
Level string `json:"Level,omitempty"`
|
||||
Output string `json:"Output,omitempty"`
|
||||
MaxBackups int `json:"MaxBackups,omitempty"`
|
||||
MaxSize int `json:"MaxSize,omitempty"`
|
||||
MaxAge int `json:"MaxAge,omitempty"`
|
||||
}
|
||||
|
||||
func newLog() Log {
|
||||
return Log{
|
||||
Level: "info",
|
||||
Output: "",
|
||||
MaxBackups: 3,
|
||||
MaxSize: 100,
|
||||
MaxAge: 28,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user