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.
Click to show internal directories.
Click to hide internal directories.