wip: log
This commit is contained in:
@@ -22,6 +22,8 @@ const (
|
||||
Error Level = Level(zerolog.ErrorLevel)
|
||||
Fatal Level = Level(zerolog.FatalLevel)
|
||||
Panic Level = Level(zerolog.PanicLevel)
|
||||
|
||||
LogKey = "log"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -46,6 +46,6 @@ func (f *File) Close() error {
|
||||
}
|
||||
|
||||
func (f *File) Rotate() error {
|
||||
|
||||
//TODO: implement log rotation
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user