Skip to content
callcount

package

github.com/sirupsen/logrus

third-party

67 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,582
non-test, non-generated
all calls
49,844
total callsites
functions
67
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,473
Infof 2,232
Entry.Debugf 2,230
Errorf 2,228
Entry.WithField 2,162
Entry.Error 1,997
Entry.Infof 1,920
Entry.WithError 1,880
Entry.Warnf 1,863
Warnf 1,778
Entry.Info 1,700
Entry.Debug 1,561
FieldLogger.WithField 1,473
Entry.Warn 1,293
FieldLogger.WithError 947
WithContext 890
WithFields 790
FieldLogger.WithFields 769
WithError 689
InfoLogger.Infof 670
Logger.Warnf 658
Entry.WithFields 650
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 311
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 146
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