Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func ErrorWithStack(error error)
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Initialize(env enum.EnvironmentType) error
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf fmt.Sprintf to log a templated message.
func ErrorWithStack ¶
func ErrorWithStack(error error)
ErrorWithStack errorのstack traceを表示する. github.com/pkg/errorsで作成されたものしかstack表示できないので注意
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf uses fmt.Sprintf to log a templated message.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf uses fmt.Sprintf to log a templated message.
func Infof ¶
func Infof(format string, args ...interface{})
Infof uses fmt.Sprintf to log a templated message.
func Initialize ¶
func Initialize(env enum.EnvironmentType) error
Initialize 設定を読み込みLoggerを初期化する。mainクラスなど起動時に呼ばれる想定
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.