Skip to content

Commit

Permalink
Switching to practo/klog with hooks support
Browse files Browse the repository at this point in the history
Till kubernetes/klog #168 gets released
  • Loading branch information
alok87 committed Jun 23, 2020
1 parent 2f0ffc7 commit b2d7f66
Show file tree
Hide file tree
Showing 16 changed files with 135 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
k8s.io/apimachinery v0.0.0
k8s.io/client-go v0.0.0
k8s.io/code-generator v0.0.0-20190612205613-18da4a14b22b
k8s.io/klog/v2 v2.2.0
github.com/practo/klog/v2 v2.2.1
)

replace (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA=
github.com/practo/klog/v2 v2.2.1 h1:yV/SavG73KHSmCVwtDap1RGe+2jd86e1eugT+Mv2/FA=
github.com/practo/klog/v2 v2.2.1/go.mod h1:WMkpfPwTxLgSLookpI4UUv2zL7tMltKACK/FHB1zLV0=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM=
github.com/prometheus/client_golang v0.9.3 h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8=
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
99 changes: 99 additions & 0 deletions vendor/github.com/practo/klog/v2/hooks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
6 changes: 3 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ github.com/modern-go/concurrent
github.com/modern-go/reflect2
# github.com/pelletier/go-toml v1.2.0
github.com/pelletier/go-toml
# github.com/practo/klog/v2 v2.2.1
## explicit
github.com/practo/klog/v2
# github.com/prometheus/client_golang v0.9.3
## explicit
github.com/prometheus/client_golang/prometheus
Expand Down Expand Up @@ -502,9 +505,6 @@ k8s.io/gengo/parser
k8s.io/gengo/types
# k8s.io/klog v0.3.1
k8s.io/klog
# k8s.io/klog/v2 v2.2.0
## explicit
k8s.io/klog/v2
# k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30
k8s.io/kube-openapi/pkg/util/proto
# k8s.io/utils v0.0.0-20190221042446-c2654d5206da
Expand Down

0 comments on commit b2d7f66

Please sign in to comment.