logging

package
v1.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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 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