package
2.0.0
Repository: https://github.com/akamai/cli.git
Documentation: pkg.go.dev

# Functions

FromContext returns the logger from context, or new logger if not present in context.
NewContext returns a new context with logger.
NewHandler returns configured SlogHandler.
SetupContext creates supplies a context.Context with new Logger instance It handles setting up logging level and log output.
WithCommand returns a Logger supplied with given 'command' field.
WithCommandContext returns a context withe a logger and supplied with given 'command' field.

# Structs

Handler is a custom slog handler.