package
0.10.2
Repository: https://github.com/arquivei/foundationkit.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

Flatten transforms a struct into a flattened string, like: a.b.c: 'val', c.d: 'val' Pointer values will translate into memory addresses !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! IMPORTANT SECURITY NOTE !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Flatten will place ALL keys of the given structure on the resulted string.
MustParseLevel transforms a string in a zerolog level.
SetupLogger sets the global logger by configuring the global zerolog.Log and also the go's log package.
SetupLoggerWithContext returns a context enriched with a logger.

# Variables

LevelToSeverity converts a zerolog level to the stackdriver severity Stackdriver has more levels than zerolog so we skip some severities.

# Structs

Config is the log configuration struct.