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