mirror of https://github.com/sirupsen/logrus.git
Merge pull request #12 from Sproutling/master
code builds -- fixes incorrect use of entry.Info, change to entry.Infof
This commit is contained in:
commit
856b995d46
2
entry.go
2
entry.go
|
@ -141,7 +141,7 @@ func (entry *Entry) Infof(format string, args ...interface{}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (entry *Entry) Printf(format string, args ...interface{}) {
|
func (entry *Entry) Printf(format string, args ...interface{}) {
|
||||||
entry.Info(format, args...)
|
entry.Infof(format, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (entry *Entry) Warnf(format string, args ...interface{}) {
|
func (entry *Entry) Warnf(format string, args ...interface{}) {
|
||||||
|
|
Loading…
Reference in New Issue