logger

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MPL-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	logr.Logger
}

func From added in v0.10.1

func From(logger logr.Logger) Logger

From wraps a logr instance with the extra emoji generating helpers

func NewCLILogger added in v0.2.3

func NewCLILogger(writer io.Writer) Logger

NewCLILogger returns a wrapped logr that logs to the specified writer Note: unless you're doing CLI work, you should use core/logger.New instead

func (Logger) Actionf

func (l Logger) Actionf(format string, a ...interface{})

func (Logger) Failuref

func (l Logger) Failuref(format string, a ...interface{})

func (Logger) Generatef

func (l Logger) Generatef(format string, a ...interface{})

func (Logger) Println

func (l Logger) Println(format string, a ...interface{})

func (Logger) Successf

func (l Logger) Successf(format string, a ...interface{})

func (Logger) Waitingf

func (l Logger) Waitingf(format string, a ...interface{})

func (Logger) Warningf

func (l Logger) Warningf(format string, a ...interface{})

Jump to

Keyboard shortcuts

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