Closed Ruxton closed 7 years ago
Can you simplify ALogger
to only include Printf
?
I built it to line up with the std log package, which is capable of all the above, but I guess cutting it down to whatever you use is the smart thing to do.
@pjebs have cleaned it up now
For backwards compatibility one more change to L68:
var std = New(os.Stderr, "", LstdFlags)
This was from the standard library source code: https://golang.org/src/log/log.go#L73
Then I will merge.
Thank you for your contribution.
@pjebs should all be resolved now
Awesome work. Fixed up log
.LstdFlags
afterwards.
Adds a log interface so the log can be integrated with external sources (Like negroni's logger or a logstash logger)