package
0.2.3
Repository: https://github.com/act3-ai/hops.git
Documentation: pkg.go.dev

# Functions

DescriptorAttrs formats a descriptor as a list of attributes.
DescriptorGroup formats an [ocispec.Descriptor] as a [log/slog.Attr].
ErrAttr produces a [log/slog.Attr] for errors.
Logs an error when setting up flags.
OCIPlatformValue formats an [ocispec.Platform] as a [log/slog.Attr].
VersionAttrs formats version info as a list of [log/slog.Attr].
WithLogging adds logging at level for the OnCopySkipped, PostCopy, and OnMounted functions.
WithPersistentVerbosityFlags adds the debug, quiet, and verbose flags to the given command.

# Constants

ErrKey is the key used for errors in [log/slog] attributes.
trace = double debug.
verbose = one step more verbose than info.

# Structs

VerbosityOptions configures logger verbosity.