logging

package
v1.47.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug = struct {
	Info *log.Logger
	Warn *log.Logger
}{
	Info: createDebugLogger("terraform-provider-dynatrace.export.log"),
	Warn: createDebugLogger("terraform-provider-dynatrace.warnings.log"),
}
View Source
var File = log.New(odl, "", log.LstdFlags)
View Source
var Logger = hclog.New(&hclog.LoggerOptions{
	IncludeLocation: false,
	DisableTime:     true,
})

Functions

func Enable

Enable redirects logging into a an output file

func EnableCustomizeDiff

func EnableCustomizeDiff(fn func(context.Context, *schema.ResourceDiff, any) error) func(context.Context, *schema.ResourceDiff, any) error

EnableCustomizeDiff redirects logging into a an output file

func EnableDS added in v1.29.0

func EnableDS(fn func(d *schema.ResourceData, m any) error) func(*schema.ResourceData, any) error

func EnableSchemaDiff

func EnableSchemaDiff(fn func(k, old, new string, d *schema.ResourceData) bool) func(k, old, new string, d *schema.ResourceData) bool

EnableSchemaDiff redirects logging into a an output file

func EnableSchemaSetFunc

func EnableSchemaSetFunc(fn func(v any) int) func(v any) int

func SetOutput

func SetOutput()

Enable redirects logging into a an output file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL