Documentation
¶
Index ¶
- Variables
- func Debug(v ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(v ...interface{})
- func Infof(format string, args ...interface{})
- func Trace(v ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(v ...interface{})
- func Warnf(format string, args ...interface{})
- func WithFields(fields map[string]interface{}) *logger.Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = logger.New( logger.WithOutput(os.Stdout), logger.WithTimeFormat(time.RFC3339Nano), logger.WithSkipFrameCount(defaultSkipFrameCount), )
Logger はデフォルトで提供される logger です。
Functions ¶
func WithFields ¶
WithFields は fields をログに含む logger を新しく生成します。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.