Releases: kubernetes/klog
One more change to support 1.22 release
Prepare release for Kubernetes v1.22
Changes are here : v2.8.0...v2.9.0
6a9ef3f fix typo
59f7cb5 fix byte array display in InfoS and ErrorS
cf22f1e Call logr with call depth
e95c7e3 make SetLogger thread-safe
2728fe1 check usage of format specifier in structured log func
a18bc97 Fix by pr suggestions
4e4135c Add check for InfoS & ErrorS parameters
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