Documentation
¶
Index ¶
- type InfraLogWrapper
- func (l *InfraLogWrapper) Debug(args ...interface{})
- func (l *InfraLogWrapper) Debugf(format string, args ...interface{})
- func (l *InfraLogWrapper) Error(args ...interface{})
- func (l *InfraLogWrapper) Errorf(format string, args ...interface{})
- func (l *InfraLogWrapper) Failuref(format string, args ...interface{})
- func (l *InfraLogWrapper) Info(args ...interface{})
- func (l *InfraLogWrapper) Infof(format string, args ...interface{})
- func (l *InfraLogWrapper) Successf(format string, args ...interface{})
- func (l *InfraLogWrapper) Warn(args ...interface{})
- func (l *InfraLogWrapper) Warnf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraLogWrapper ¶
type InfraLogWrapper struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(name string) *InfraLogWrapper
func (*InfraLogWrapper) Debug ¶
func (l *InfraLogWrapper) Debug(args ...interface{})
func (*InfraLogWrapper) Debugf ¶
func (l *InfraLogWrapper) Debugf(format string, args ...interface{})
func (*InfraLogWrapper) Error ¶
func (l *InfraLogWrapper) Error(args ...interface{})
func (*InfraLogWrapper) Errorf ¶
func (l *InfraLogWrapper) Errorf(format string, args ...interface{})
func (*InfraLogWrapper) Failuref ¶
func (l *InfraLogWrapper) Failuref(format string, args ...interface{})
func (*InfraLogWrapper) Info ¶
func (l *InfraLogWrapper) Info(args ...interface{})
func (*InfraLogWrapper) Infof ¶
func (l *InfraLogWrapper) Infof(format string, args ...interface{})
func (*InfraLogWrapper) Successf ¶
func (l *InfraLogWrapper) Successf(format string, args ...interface{})
func (*InfraLogWrapper) Warn ¶
func (l *InfraLogWrapper) Warn(args ...interface{})
func (*InfraLogWrapper) Warnf ¶
func (l *InfraLogWrapper) Warnf(format string, args ...interface{})
type Logger ¶
type Logger interface {
Successf(format string, args ...interface{})
Failuref(format string, args ...interface{})
Info(args ...interface{})
Infof(format string, args ...interface{})
Debug(args ...interface{})
Debugf(format string, args ...interface{})
Warn(args ...interface{})
Warnf(format string, args ...interface{})
Error(args ...interface{})
Errorf(format string, args ...interface{})
}
Logger is used primarily to facilitate logging/user feedback for both the grafana-cli and the grafana backend when managing plugin installs
Click to show internal directories.
Click to hide internal directories.