Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetDefaultLogger(logger Logger)
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type Logger
- type PionLogger
- func (pl *PionLogger) Debug(msg string)
- func (pl *PionLogger) Debugf(format string, args ...interface{})
- func (pl *PionLogger) Error(msg string)
- func (pl *PionLogger) Errorf(format string, args ...interface{})
- func (pl *PionLogger) Info(msg string)
- func (pl *PionLogger) Infof(format string, args ...interface{})
- func (pl *PionLogger) Trace(msg string)
- func (pl *PionLogger) Tracef(format string, args ...interface{})
- func (pl *PionLogger) Warn(msg string)
- func (pl *PionLogger) Warnf(format string, args ...interface{})
- type PionLoggerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultLogger ¶
func SetDefaultLogger(logger Logger)
Types ¶
type Logger ¶
type Logger interface { Trace(args ...interface{}) Tracef(format string, args ...interface{}) Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) }
var DefaultLogger Logger
type PionLogger ¶
type PionLogger struct {
// contains filtered or unexported fields
}
func (*PionLogger) Debug ¶
func (pl *PionLogger) Debug(msg string)
func (*PionLogger) Debugf ¶
func (pl *PionLogger) Debugf(format string, args ...interface{})
func (*PionLogger) Error ¶
func (pl *PionLogger) Error(msg string)
func (*PionLogger) Errorf ¶
func (pl *PionLogger) Errorf(format string, args ...interface{})
func (*PionLogger) Info ¶
func (pl *PionLogger) Info(msg string)
func (*PionLogger) Infof ¶
func (pl *PionLogger) Infof(format string, args ...interface{})
func (*PionLogger) Trace ¶
func (pl *PionLogger) Trace(msg string)
func (*PionLogger) Tracef ¶
func (pl *PionLogger) Tracef(format string, args ...interface{})
func (*PionLogger) Warn ¶
func (pl *PionLogger) Warn(msg string)
func (*PionLogger) Warnf ¶
func (pl *PionLogger) Warnf(format string, args ...interface{})
type PionLoggerFactory ¶
type PionLoggerFactory struct {
// contains filtered or unexported fields
}
func NewPionLoggerFactory ¶
func NewPionLoggerFactory(l Logger) *PionLoggerFactory
func (*PionLoggerFactory) NewLogger ¶
func (lf *PionLoggerFactory) NewLogger(scope string) logging.LeveledLogger
Click to show internal directories.
Click to hide internal directories.