logger

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFieldBool

func SetFieldBool(
	ctx context.Context,
	fullTypeName string,
	terraformType string,
	key string,
	value interface{ ValueBool() bool },
) context.Context

SetFieldBool sets a bool field on the logger in the context.Context.

func SetFieldInt64

func SetFieldInt64(
	ctx context.Context,
	fullTypeName string,
	terraformType string,
	key string,
	value interface{ ValueInt64() int64 },
) context.Context

SetFieldInt64 sets an int64 field on the logger in the context.Context.

func SetFieldListString added in v0.0.7

func SetFieldListString(
	ctx context.Context,
	fullTypeName string,
	terraformType string,
	key string,
	value interface{ Elements() []attr.Value },
) context.Context

SetFieldListString sets a list of strings field on the logger in the context.Context.

func SetFieldSetString added in v0.0.4

func SetFieldSetString(
	ctx context.Context,
	fullTypeName string,
	terraformType string,
	key string,
	value interface{ Elements() []attr.Value },
) context.Context

SetFieldSetString sets a set of strings field on the logger in the context.Context.

func SetFieldString

func SetFieldString(
	ctx context.Context,
	fullTypeName string,
	terraformType string,
	key string,
	value interface{ ValueString() string },
) context.Context

SetFieldString sets a string field on the logger in the context.Context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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