logging

package
v1.2.237 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisablePrettyLog

func DisablePrettyLog()

func ImageDefaultStyle added in v1.2.220

func ImageDefaultStyle(isArtifact bool) color.Style

func ImageLogName

func ImageLogName(name string, isArtifact bool) string

func ImageLogProcessName

func ImageLogProcessName(name string, isArtifact bool, targetPlatform string) string

func ImageMetadataLogProcess added in v1.2.220

func ImageMetadataLogProcess(name string) string

func ImageMetadataStyle added in v1.2.220

func ImageMetadataStyle() color.Style

func RunWithDeferredLog added in v1.2.236

func RunWithDeferredLog(ctx context.Context, deferLog bool, run func(ctx context.Context) error) error

RunWithDeferredLog will run a function and print log if condition is true and print logs only on error if condition is false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL