The go 1 compatibility promise prevents the
standard library from changing log.Logger to be an interface.
This library has one single goal: to provide an interface that matches the
functions in log.Logger so that you can substitute the standard Logger with a
replacement if needed.
Usage
go get -u github.com/joefitzgerald/standardlog
import (
"os"
"github.com/joefitzgerald/standardlog"
)
func main() {
var l standardlog.Logger
l = log.New(os.Stdout, "", 0)
// Use l here...
}