Codebase list golang-github-apex-log / run/df298436-8f7f-49e8-9013-e939258f41d7/main interface.go
run/df298436-8f7f-49e8-9013-e939258f41d7/main

Tree @run/df298436-8f7f-49e8-9013-e939258f41d7/main (Download .tar.gz)

interface.go @run/df298436-8f7f-49e8-9013-e939258f41d7/mainraw · history · blame

package log

// Interface represents the API of both Logger and Entry.
type Interface interface {
	WithFields(fields Fielder) *Entry
	WithField(key string, value interface{}) *Entry
	WithError(err error) *Entry
	Debug(msg string)
	Info(msg string)
	Warn(msg string)
	Error(msg string)
	Fatal(msg string)
	Debugf(msg string, v ...interface{})
	Infof(msg string, v ...interface{})
	Warnf(msg string, v ...interface{})
	Errorf(msg string, v ...interface{})
	Fatalf(msg string, v ...interface{})
	Trace(msg string) *Entry
}