Documentation ¶
Index ¶
- type DefaultLogger
- func (d DefaultLogger) Debug(v ...interface{})
- func (d DefaultLogger) Debugf(format string, v ...interface{})
- func (d DefaultLogger) Error(v ...interface{})
- func (d DefaultLogger) Errorf(format string, v ...interface{})
- func (d DefaultLogger) Fatal(v ...interface{})
- func (d DefaultLogger) Fatalf(format string, v ...interface{})
- func (d DefaultLogger) Info(v ...interface{})
- func (d DefaultLogger) Infof(format string, v ...interface{})
- func (d DefaultLogger) Warn(v ...interface{})
- func (d DefaultLogger) Warnf(format string, v ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultLogger ¶
type DefaultLogger struct {
// contains filtered or unexported fields
}
DefaultLogger implementation of Logger using the go log package
func NewDefaultLogger ¶
func NewDefaultLogger() *DefaultLogger
NewDefaultLogger creates a new Default Logger
func (DefaultLogger) Debug ¶
func (d DefaultLogger) Debug(v ...interface{})
func (DefaultLogger) Debugf ¶
func (d DefaultLogger) Debugf(format string, v ...interface{})
func (DefaultLogger) Error ¶
func (d DefaultLogger) Error(v ...interface{})
func (DefaultLogger) Errorf ¶
func (d DefaultLogger) Errorf(format string, v ...interface{})
func (DefaultLogger) Fatal ¶
func (d DefaultLogger) Fatal(v ...interface{})
func (DefaultLogger) Fatalf ¶
func (d DefaultLogger) Fatalf(format string, v ...interface{})
func (DefaultLogger) Info ¶
func (d DefaultLogger) Info(v ...interface{})
func (DefaultLogger) Infof ¶
func (d DefaultLogger) Infof(format string, v ...interface{})
func (DefaultLogger) Warn ¶
func (d DefaultLogger) Warn(v ...interface{})
func (DefaultLogger) Warnf ¶
func (d DefaultLogger) Warnf(format string, v ...interface{})
type Logger ¶
type Logger interface { Debug(v ...interface{}) Debugf(format string, v ...interface{}) Info(v ...interface{}) Infof(format string, v ...interface{}) Warn(v ...interface{}) Warnf(format string, v ...interface{}) Error(v ...interface{}) Errorf(format string, v ...interface{}) Fatal(v ...interface{}) Fatalf(format string, v ...interface{}) }
Logger interface used by the go sdk
Click to show internal directories.
Click to hide internal directories.