package
0.15.5
Repository: https://github.com/shipwright-io/build.git
Documentation: pkg.go.dev

# Functions

CustomZapFlagSet creates a flag.FlagSet containing the zap logger default flags to configure the zap options and it includes a custom flag `--zap-level` for backwards compatibility reasons.
Debug returns an DEBUG level log from an specified context.
Error returns an ERROR level log from an specified context.
ExtractLogger returns a logger based on the loggerKey This function retrieves from an existing context the value, which in this case is an instance of our logger.
Info returns an INFO level log from an specified context.
NewContext returns a new child context based on our logger key(loggerKey).
NewLogger returns a new Logger instance by using the controller-runtime log/zap logging implementation.
NewLoggerTo returns a new Logger which logs to a given destination.
NewParentContext returns a new context from the parent context.Background one.