Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugLevel = log.DebugLevel
View Source
var FatalErrorTombstone = "fatal error"
View Source
var Logger *log.Logger

Functions

func Debug

func Debug(msg interface{}, keyvals ...interface{})

Debug logs a debug message.

func Debugf

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

Debugf logs a debug message with formatting.

func Dump

func Dump(something any)

Dump prints contents as JSON, used in development

func Error

func Error(msg interface{}, keyvals ...interface{})

Error logs an error message.

func Errorf

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

Errorf logs an error message with formatting.

func Fatal

func Fatal(msg interface{}, keyvals ...interface{})

Fatal logs a fatal message and exit.

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf logs a fatal message with formatting and exit.

func Info

func Info(msg interface{}, keyvals ...interface{})

Info logs an info message.

func Infof

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

Infof logs an info message with formatting.

func NewProgressBar

func NewProgressBar(total int64, description string, silent bool) *progressbar.ProgressBar

func Print

func Print(msg interface{}, keyvals ...interface{})

Print logs a message with no level.

func Printf

func Printf(format string, args ...interface{})

Printf logs a message with formatting and no level.

func Warn

func Warn(msg interface{}, keyvals ...interface{})

Warn logs a warning message.

func Warnf

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

Warnf logs a warning message with formatting.

Types

type ScalibrAdapter

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

func (*ScalibrAdapter) Debug

func (s *ScalibrAdapter) Debug(args ...any)

func (*ScalibrAdapter) Debugf

func (s *ScalibrAdapter) Debugf(format string, args ...any)

func (*ScalibrAdapter) Error

func (s *ScalibrAdapter) Error(args ...any)

func (*ScalibrAdapter) Errorf

func (s *ScalibrAdapter) Errorf(format string, args ...any)

func (*ScalibrAdapter) Info

func (s *ScalibrAdapter) Info(args ...any)

func (*ScalibrAdapter) Infof

func (s *ScalibrAdapter) Infof(format string, args ...any)

func (*ScalibrAdapter) Warn

func (s *ScalibrAdapter) Warn(args ...any)

func (*ScalibrAdapter) Warnf

func (s *ScalibrAdapter) Warnf(format string, args ...any)

Jump to

Keyboard shortcuts

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