Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Teller ¶
type Teller struct {
// contains filtered or unexported fields
}
Teller is a logrus abstraction
func (*Teller) LogWithFields ¶
LogWithFields allow logging some free fields associated to a message
func (*Teller) SetLogFormatter ¶
SetLogFormatter sets the log formatter
Both text and json formatters are accepted
func (*Teller) SetLogLevel ¶
SetLogLevel defines the logger minimum level from a string
Note that logrus default is log.InfoLevel
Click to show internal directories.
Click to hide internal directories.