Thanks for this lib, I have a simple question:
How to using log.Info("%s", s) like?
Does logrus provide this?
Use Infof instead
Infof
@jinfagang, you can use Infof or any other f method but the recommended way is to add a field to your entry.
logrus.WithField("fieldname", value).Info("my trace")
Most helpful comment
Use
Infofinstead