Skip to content
callcount

package

github.com/sirupsen/logrus

third-party

69 third-party functions from github.com/sirupsen/logrus, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
46,803
non-test, non-generated
all calls
50,034
total callsites
functions
69
ranked in this snapshot
origin
ext
third-party

members

Functions in github.com/sirupsen/logrus

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Debugf 3,751
Entry.Errorf 2,531
Entry.Debugf 2,237
Infof 2,232
Errorf 2,228
Entry.WithField 2,183
Entry.Error 1,996
Entry.Infof 1,921
Entry.WithError 1,883
Entry.Warnf 1,864
Warnf 1,778
Entry.Info 1,700
Entry.Debug 1,568
FieldLogger.WithField 1,471
Entry.Warn 1,291
FieldLogger.WithError 950
WithContext 890
WithFields 786
FieldLogger.WithFields 767
WithError 689
InfoLogger.Infof 668
Logger.Warnf 658
Entry.WithFields 653
Info 585
Fatalf 525
Debug 489
Error 467
Entry.Tracef 450
Fatal 402
Logger.Errorf 386
InfoLogger.Info 374
DebugLogger.Debugf 355
Logger.Debugf 336
Logger.WithField 326
Entry.Trace 311
Warn 309
WarnLogger.Warnf 289
Logger.Infof 284
WithField 278
DebugLogger.Debug 270
Tracef 245
Logger.WithFields 241
Errorln 240
ErrorLogger.Errorf 226
Logger.Fatalf 216
Logger.WithError 199
SetLevel 189
StandardLogger 178
New 145
Warningf 144
WarnLogger.Warn 123
Entry.Warnln 117
Entry.Fatal 107
Entry.Fatalf 105
ParseLevel 98
Logger.SetLevel 97
ErrorLogger.Error 93
Level.String 89
Debugln 86
Entry.Debugln 83
SetFormatter 81
Entry.Warningf 77
Logger.Warn 76
Logger.Info 74
Logger.Debug 72
SetOutput 71
Logger.SetOutput 67
Warnln 67
GetLevel 66