master
dingjun 5 years ago
parent 6b72e5702c
commit f4fe6316ab

@ -1,11 +0,0 @@
language: go
go:
- "1.9"
- "1.10"
before_install:
- go get github.com/mattn/goveralls
script:
- $GOPATH/bin/goveralls -v -service=travis-ci -package=github.com/subchen/go-log

24
Gopkg.lock generated

@ -1,24 +0,0 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
packages = ["ssh/terminal"]
revision = "1a580b3eff7814fc9b40602fd35256c63b50f491"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = [
"unix",
"windows"
]
revision = "7c87d13f8e835d2fb3a70a2912c811ed0c1d241b"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "5d23260104de1fc6bee0a07cb064f1b57081935b7958acdb627d18dd9c80ce02"
solver-name = "gps-cdcl"
solver-version = 1

@ -1,35 +0,0 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
[[constraint]]
name = "golang.org/x/crypto"
branch = "master"
[prune]
non-go = true
go-tests = true
unused-packages = true

@ -35,7 +35,7 @@ package main
import (
"os"
"errors"
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
func main() {
@ -56,8 +56,7 @@ Default log to console, you can set `Logger.Out` to set a file writer into log.
```go
import (
"github.com/fangdingjun/go-log"
"github.com/fangdingjun/go-log/log"
log "github.com/fangdingjun/go-log/v5"
)
log.Default.Out = &log.FixedSizeFileWriter{
@ -107,7 +106,7 @@ io.MultiWriter(
```go
import (
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
log.Default.Formatter = new(log.TextFormatter)
@ -118,7 +117,7 @@ log.Default.Formatter = new(log.TextFormatter)
```go
import (
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
func main() {

@ -9,7 +9,7 @@ package main
import (
"os"
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
func main() {
@ -31,7 +31,7 @@ You also can config `log.Default` or new `log.Logger` to customize formatter and
import (
"os"
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
func main() {

@ -3,7 +3,7 @@ package main
import (
"os"
"github.com/fangdingjun/go-log"
log "github.com/fangdingjun/go-log/v5"
)
func main() {

@ -2,4 +2,4 @@ module github.com/fangdingjun/go-log/v5
go 1.13
require golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
require golang.org/x/crypto v0.0.0-20190909091759-094676da4a83

@ -1,4 +1,7 @@
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/crypto v0.0.0-20190909091759-094676da4a83 h1:mgAKeshyNqWKdENOnQsg+8dRTwZFIwFaO3HNl52sweA=
golang.org/x/crypto v0.0.0-20190909091759-094676da4a83/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

Loading…
Cancel
Save