hclogutils

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldMapsToArgs added in v0.6.0

func FieldMapsToArgs(maps ...map[string]interface{}) []interface{}

FieldMapsToArgs will shallow merge field maps into a slice of key/value pairs arguments (i.e. `[k1, v1, k2, v2, ...]`) expected by hc-log.Logger methods.

func LoggerOptionsCopy

func LoggerOptionsCopy(src *hclog.LoggerOptions) *hclog.LoggerOptions

LoggerOptionsCopy will safely copy LoggerOptions. Manually implemented to save importing a dependency such as github.com/mitchellh/copystructure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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