Documentation ¶
Index ¶
- Variables
- type Logger
- func (l Logger) Debugf(format string, args ...interface{})
- func (l Logger) Errorf(format string, args ...interface{})
- func (l Logger) Infof(format string, args ...interface{})
- func (l Logger) Printf(format string, args ...interface{})
- func (l Logger) ShouldLog(_ logger.LogLevel) bool
- func (l Logger) Warningf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var L = Logger{}
L is the global Logger singleton
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is the implementation of the SDK Logger interface for this terraform plugin.
cf. https://godoc.org/github.com/scaleway/scaleway-sdk-go/logger#Logger
func (Logger) Debugf ¶
Debugf logs to the DEBUG log. Arguments are handled in the manner of fmt.Printf.
func (Logger) Errorf ¶
Errorf logs to the ERROR log. Arguments are handled in the manner of fmt.Printf.
func (Logger) Infof ¶
Infof logs to the INFO log. Arguments are handled in the manner of fmt.Printf.
func (Logger) Printf ¶
Printf logs to the DEBUG log. Arguments are handled in the manner of fmt.Printf.
Click to show internal directories.
Click to hide internal directories.