init
This commit is contained in:
parent
0235eee42e
commit
6a0babd70e
@ -9,7 +9,7 @@ import (
|
||||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/ehlxr/logger/bufferpool"
|
||||
"github.com/ehlxr/log/bufferpool"
|
||||
|
||||
"go.uber.org/zap/buffer"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
3
go.mod
3
go.mod
@ -1,8 +1,9 @@
|
||||
module github.com/ehlxr/logger
|
||||
module github.com/ehlxr/log
|
||||
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/ehlxr/logger v0.0.0-20191105075740-0235eee42e0f
|
||||
github.com/pkg/errors v0.8.1
|
||||
go.uber.org/zap v1.12.0
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
||||
|
6
log.go
6
log.go
@ -8,10 +8,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/ehlxr/logger/encoder"
|
||||
"github.com/ehlxr/log/encoder"
|
||||
|
||||
"github.com/ehlxr/logger/bufferpool"
|
||||
"github.com/ehlxr/logger/crash"
|
||||
"github.com/ehlxr/log/bufferpool"
|
||||
"github.com/ehlxr/log/crash"
|
||||
"github.com/pkg/errors"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
Loading…
Reference in New Issue
Block a user