Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { // With creates a new logger which will include the provided key/value in each log message With(key string, value interface{}) Logger // WithValues creates a new logger which will include all the provided key/value(s) in each log message WithValues(values map[string]interface{}) Logger Trace(msg string, additionalFields ...map[string]interface{}) Debug(msg string, additionalFields ...map[string]interface{}) Info(msg string, additionalFields ...map[string]interface{}) Warn(msg string, additionalFields ...map[string]interface{}) Error(msg string, additionalFields ...map[string]interface{}) }
Logger provides an interface to the terraform-plugin-log to make it easier to use.
func NewNoopLogger ¶
func NewNoopLogger() Logger
Click to show internal directories.
Click to hide internal directories.