Documentation ¶
Index ¶
- type LogLevel
- type Logger
- type LoggerImpl
- func (li *LoggerImpl) Debug(vals ...interface{})
- func (li *LoggerImpl) Debugf(format string, vals ...interface{})
- func (li *LoggerImpl) Detail(vals ...interface{})
- func (li *LoggerImpl) Detailf(format string, vals ...interface{})
- func (li *LoggerImpl) Error(vals ...interface{})
- func (li *LoggerImpl) Errorf(format string, vals ...interface{})
- func (li *LoggerImpl) Info(vals ...interface{})
- func (li *LoggerImpl) Infof(format string, vals ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Error(...interface{}) Errorf(string, ...interface{}) Info(...interface{}) Infof(string, ...interface{}) Detail(...interface{}) Detailf(string, ...interface{}) Debug(...interface{}) Debugf(string, ...interface{}) }
Logger logger
func NewStdoutLogger ¶
NewStdoutLogger create a new logger that writes to stdout
type LoggerImpl ¶
LoggerImpl standard logger implementation
func (*LoggerImpl) Debugf ¶
func (li *LoggerImpl) Debugf(format string, vals ...interface{})
Debugf Debugf
func (*LoggerImpl) Detailf ¶
func (li *LoggerImpl) Detailf(format string, vals ...interface{})
Detailf Detailf
func (*LoggerImpl) Errorf ¶
func (li *LoggerImpl) Errorf(format string, vals ...interface{})
Errorf Errorf
func (*LoggerImpl) Infof ¶
func (li *LoggerImpl) Infof(format string, vals ...interface{})
Infof Infof
Click to show internal directories.
Click to hide internal directories.