Skip to content

Commit

Permalink
refact(zap): custom lumberjack with sync.WaitGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Jun 22, 2024
1 parent 768fb31 commit f21f46b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions logger/drivers/zap/log.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package zap

import (
"github.com/ArtisanCloud/PowerLibs/v3/fmt"
"github.com/ArtisanCloud/PowerLibs/v3/logger/contract"
lumberjack "github.com/ArtisanCloud/PowerLibs/v3/logger/lib"
"github.com/ArtisanCloud/PowerLibs/v3/object"
Expand Down Expand Up @@ -72,8 +71,6 @@ func newZapLogger(config *object.HashMap) (logger *zap.Logger, err error) {
Compress: true, // disabled by default
})

fmt.Dump(outputWriter)

//errorSyncer, err := newFileWriteSyncer(errorFile)
//if err != nil {
// return nil, err
Expand Down

0 comments on commit f21f46b

Please sign in to comment.