Skip to content

v0.3.0

Choose a tag to compare

@thockin thockin released this 02 Nov 16:57
· 38 commits to master since this release
2e39664

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")
    }
}