logger

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug fmt.Sprintf to log a templated message.

func Debugf

func Debugf(format string, args ...interface{})

Debugf fmt.Sprintf to log a templated message.

func Error

func Error(args ...interface{})

Error uses 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 Fatal

func Fatal(args ...interface{})

Fatal 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 Info

func Info(args ...interface{})

Info 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クラスなど起動時に呼ばれる想定

func Warn

func Warn(args ...interface{})

Warn uses fmt.Sprintf to log a templated message.

func Warnf

func Warnf(format string, args ...interface{})

Warnf uses fmt.Sprintf to log a templated message.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL