package
0.4.0
Repository: https://github.com/fredbi/go-cli.git
Documentation: pkg.go.dev

# Functions

ResolveInjectSLogConfig returns in a single call the standard structure logger and viper config stored in the command context as injectables.
ResolveInjectZapConfig returns in a single call the zap logger and viper config stored in the command context as injectables.
ReinjectSLogger updates the command context with a new logger.
ReinjectZapLogger updates the command context with a new logger.
RelevelInjectedZapLogger reinjects into the command's context a relevel logger with a new level.
WithConfigDefaulter applies a default config generation whenever the injected context is not found.
WithSLoggerDefaulter applies a default logger generation whenever the injected context is not found.
WithZapLoggerDefaulter applies a default logger generation whenever the injected context is not found.

# Type aliases

No description provided by the author