This commit is contained in:
2023-09-05 14:22:36 +10:00
parent a5a019b28b
commit 1f25e5249c
3 changed files with 12 additions and 5 deletions
+2
View File
@@ -22,6 +22,8 @@ const (
Error Level = Level(zerolog.ErrorLevel)
Fatal Level = Level(zerolog.FatalLevel)
Panic Level = Level(zerolog.PanicLevel)
LogKey = "log"
)
var (
+1 -1
View File
@@ -46,6 +46,6 @@ func (f *File) Close() error {
}
func (f *File) Rotate() error {
//TODO: implement log rotation
return nil
}