Releases: go-logr/stdr
Releases · go-logr/stdr
v1.2.2
v1.2.0
v1.1.0
This is a minor release, but the minor version is updated to stay in sync with logr.
- Depends on logr v1.1.0
- Don't print empty spaces if prefix is empty
- Do print a colon (':') if prefix is not empty. E.g. "prefix: args..."
- Change some implementation details but user output should remain the same, except as noted above
v1.0.0
v1.0.0-rc1
Merge pull request #11 from thockin/go-mod Update stdr to logr 1.0.0-rc1
v0.4.0
v0.3.0
Adds Underlier
interface with GetUnderlying()
which callers can use if they know the implementation and need direct access.
Example:
if under, ok := log.(stdr.Underlier); ok {
if stdLogger, ok := under.GetUnderlying().(*stdlog.Logger); ok {
stdLogger.Printf("Hello")
}
}
v0.2.0
v0.1.0: Merge pull request #3 from thockin/copyright
Retroactive tag.