Releases: kubernetes/klog
Bug fixes for structured logging for Kubernetes v1.21
Miscellaneous fixes for structured logging for Kubernetes v1.21
Changes are here : v2.6.0...v2.7.0
Adding a linter for Kubernetes v1.21
Changes are here : v2.5.0...v2.6.0
please see https://github.com/kubernetes/klog/tree/master/hack/tools/logcheck
Prepare release for Kubernetes v1.21
Changes are here : v2.4.0...v2.5.0
klog.go has new API:
+func ErrorSDepth(depth int, err error, msg string, keysAndValues ...interface{}) {
+func InfoSDepth(depth int, msg string, keysAndValues ...interface{}) {
klogr/klogr.go has new API:
func (l klogger) WithCallDepth(depth int) logr.Logger {
func NewWithOptions(options ...Option) logr.Logger {
func WithFormat(format Format) Option {
Prepare release for Kubernetes v1.20
Changes are here : v2.3.0...v2.4.0
Fix Typo-ed Method Error -> ErrorS
Changes are here : v2.2.0...v2.3.0
Dependency update and bugfix for InfoS
Changes are here : v2.1.0...v2.2.0
Better support for Structured Logging
We are now enforcing API compatibility, added Windows based tests, and have tweaked the structured logging methods after some real world experience updating kubernetes main repo.
- bbd9ca1 Add tests for error in InfoS
- 1ccc0e1 fix imported bug time encode format form kvlistFormat
- dd4d1a6 fix typo in README.md
- 49123d4 ErrorS(nil, ...) should call loggr.Error(nil, ...)
- 5b199cd Fix documentation for V(level)
- d1eb30f Add apidiff script to check go signature changes
- dc505bf Switch slack channel to #klog
- a47ebb9 Add example for co-existence of klog v1 and v2
- 134f148 logName(): lazily lookup userName instead of on init()
- db06a1b fix serialization of special html chars
- 5727d2a Fix Windows integration tests
- edbc1d3 test(*): TestRollover failed randomly on Windows
- 6f99060 Add LogToStderr, a programatic way to log exclusively to stderr or not
Better support for Structured Logging
We are now enforcing API compatibility, added Windows based tests, and have tweaked the structured logging methods after some real world experience updating kubernetes main repo.
- bbd9ca1 Add tests for error in InfoS
- 1ccc0e1 fix imported bug time encode format form kvlistFormat
- dd4d1a6 fix typo in README.md
- 49123d4 ErrorS(nil, ...) should call loggr.Error(nil, ...)
- 5b199cd Fix documentation for V(level)
- d1eb30f Add apidiff script to check go signature changes
- dc505bf Switch slack channel to #klog
- a47ebb9 Add example for co-existence of klog v1 and v2
- 134f148 logName(): lazily lookup userName instead of on init()
- db06a1b fix serialization of special html chars
- 5727d2a Fix Windows integration tests
- edbc1d3 test(*): TestRollover failed randomly on Windows
- 6f99060 Add LogToStderr, a programatic way to log exclusively to stderr or not
Release to support Kubernetes v1.19
Beware of type change: Verbose
New Methods:
SetLogger
(override logger to set a custom implementation)InfoS
(structured logging)ErrorS
(structured logging)
Changes are here : v2.0.0-rc.1...v2.0.0