mirror of https://github.com/sirupsen/logrus.git
code builds -- fixes incorrect use of entry.Info, change to entry.Infof
This commit is contained in:
parent
f58674a4a6
commit
3719c88c8f
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