hclogutils

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

func MapsToArgs

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

MapsToArgs will shallow merge field maps into the slice of key1, value1, key2, value2, ... arguments expected by hc-log.Logger methods.

Types

This section is empty.

Jump to

Keyboard shortcuts

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