Documentation ¶
Index ¶
- func SetLogging(logger Logging)
- type Logging
- type NoLogging
- func (l *NoLogging) Debug(args ...interface{})
- func (l *NoLogging) Debugf(format string, args ...interface{})
- func (l *NoLogging) Error(args ...interface{})
- func (l *NoLogging) Errorf(format string, args ...interface{})
- func (l *NoLogging) Info(args ...interface{})
- func (l *NoLogging) Infof(format string, args ...interface{})
- func (l *NoLogging) Trace(args ...interface{})
- func (l *NoLogging) Tracef(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogging ¶
func SetLogging(logger Logging)
Sets a custom logging implementation By default NoLogging is used, so no logs are printed This is used by service.SetLogging()
Types ¶
type Logging ¶
type Logging interface { Trace(args ...interface{}) Tracef(format string, args ...interface{}) Debug(args ...interface{}) Debugf(format string, args ...interface{}) Info(args ...interface{}) Infof(format string, args ...interface{}) Error(args ...interface{}) Errorf(format string, args ...interface{}) }
Logging needs to be implemented, if the internal logs should be printed
Click to show internal directories.
Click to hide internal directories.