Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltinLogger ¶
type BuiltinLogger struct {
// contains filtered or unexported fields
}
BuiltinLogger is a logger using Go's built-in logger.
func NewBuiltinLogger ¶
func NewBuiltinLogger() *BuiltinLogger
NewBuiltinLogger creates a new logger using Go's built-in logger.
func (*BuiltinLogger) Debug ¶
func (l *BuiltinLogger) Debug(msg string, keyvals ...interface{})
func (*BuiltinLogger) Error ¶
func (l *BuiltinLogger) Error(msg string, keyvals ...interface{})
func (*BuiltinLogger) Info ¶
func (l *BuiltinLogger) Info(msg string, keyvals ...interface{})
type Logger ¶
type Logger interface {
Debug(msg string, keyvals ...interface{})
Info(msg string, keyvals ...interface{})
Error(msg string, keyvals ...interface{})
}
Logger provides the logging interface used within the Large Payload service.
type NoopLogger ¶
type NoopLogger struct {
}
NoopLogger is a logger that emits no logs
func NewNoopLogger ¶
func NewNoopLogger() *NoopLogger
NewNoopLogger creates a new logger that emits no logs.
func (*NoopLogger) Debug ¶
func (l *NoopLogger) Debug(_ string, _ ...interface{})
func (*NoopLogger) Error ¶
func (l *NoopLogger) Error(_ string, _ ...interface{})
func (*NoopLogger) Info ¶
func (l *NoopLogger) Info(_ string, _ ...interface{})
Click to show internal directories.
Click to hide internal directories.