MCPcopy
hub / github.com/sirupsen/logrus / Logln

Method Logln

entry.go:395–399  ·  view source on GitHub ↗

Entry Println family functions

(level Level, args ...interface{})

Source from the content-addressed store, hash-verified

393// Entry Println family functions
394
395func (entry *Entry) Logln(level Level, args ...interface{}) {
396 if entry.Logger.IsLevelEnabled(level) {
397 entry.Log(level, entry.sprintlnn(args...))
398 }
399}
400
401func (entry *Entry) Traceln(args ...interface{}) {
402 entry.Logln(TraceLevel, args...)

Callers 7

TracelnMethod · 0.95
DebuglnMethod · 0.95
InfolnMethod · 0.95
WarnlnMethod · 0.95
ErrorlnMethod · 0.95
FatallnMethod · 0.95
PaniclnMethod · 0.95

Calls 3

LogMethod · 0.95
sprintlnnMethod · 0.95
IsLevelEnabledMethod · 0.80

Tested by

no test coverage detected