Documentation ¶
Overview ¶
Package logstd implements std log logger.
Index ¶
- type Logger
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Errorf(format string, args ...interface{})
- func (l Logger) GetLogger() models.Loggerer
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) Warnf(format string, args ...interface{})
- func (l Logger) WithFields(fields models.LoggerFields) models.Loggerer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger is the base struct for std logger.
func (Logger) WithFields ¶
func (l Logger) WithFields(fields models.LoggerFields) models.Loggerer
WithFields supports fields.
Click to show internal directories.
Click to hide internal directories.