log

package
v11.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package log provides a mechanism for operations that don't produce CLI output naturally to log their activity to the CLI anyways.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printing

type Printing struct{}

The Printing logger logs activities of a particular component on the CLI. TODO: move this to the print package?

func (Printing) Failed

func (self Printing) Failed(failure error)

func (Printing) Start

func (self Printing) Start(template string, data ...interface{})

func (Printing) Success

func (self Printing) Success()

type Silent

type Silent struct{}

The silent logger acts as a stand-in for loggers when no logging is desired.

func (Silent) Failed

func (self Silent) Failed(error)

func (Silent) Start

func (self Silent) Start(string, ...interface{})

func (Silent) Success

func (self Silent) Success()

Jump to

Keyboard shortcuts

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