logger

package
v0.0.0-cloud Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 3 Imported by: 606

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(fmtString string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(fmtString string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(fmtString string, args ...interface{})

func SetDebug

func SetDebug(value bool)

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(fmtString string, args ...interface{})

Types

type CLILogger

type CLILogger struct {
	// contains filtered or unexported fields
}

func New

func New(debugMode bool) *CLILogger

func (*CLILogger) Debug

func (l *CLILogger) Debug(args ...interface{})

func (*CLILogger) Debugf

func (l *CLILogger) Debugf(format string, args ...interface{})

func (*CLILogger) Error

func (l *CLILogger) Error(args ...interface{})

func (*CLILogger) Errorf

func (l *CLILogger) Errorf(format string, args ...interface{})

func (*CLILogger) Failuref

func (l *CLILogger) Failuref(format string, args ...interface{})

func (*CLILogger) Info

func (l *CLILogger) Info(args ...interface{})

func (*CLILogger) Infof

func (l *CLILogger) Infof(format string, args ...interface{})

func (*CLILogger) Successf

func (l *CLILogger) Successf(format string, args ...interface{})

func (*CLILogger) Warn

func (l *CLILogger) Warn(args ...interface{})

func (*CLILogger) Warnf

func (l *CLILogger) Warnf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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