log

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...any)

func Debugf

func Debugf(format string, v ...any)

func Error

func Error(v ...any)

func Errorf

func Errorf(format string, v ...any)

func Fatal

func Fatal(v ...any)

func Fatalf

func Fatalf(format string, v ...any)

func Info

func Info(v ...any)

func Infof

func Infof(format string, v ...any)

func SetLogger

func SetLogger(l API)

func Warn

func Warn(v ...any)

func Warnf

func Warnf(format string, v ...any)

Types

type API

type API interface {
	Debug(v ...any)
	Debugf(format string, v ...any)
	Info(v ...any)
	Infof(format string, v ...any)
	Error(v ...any)
	Errorf(format string, v ...any)
	Warn(v ...any)
	Warnf(format string, v ...any)
	Fatal(v ...any)
	Fatalf(format string, v ...any)
}

type ClogShim

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

func NewClogShim

func NewClogShim(c clog.P) *ClogShim

func (*ClogShim) Debug

func (c *ClogShim) Debug(v ...any)

func (*ClogShim) Debugf

func (c *ClogShim) Debugf(format string, v ...any)

func (*ClogShim) Error

func (c *ClogShim) Error(v ...any)

func (*ClogShim) Errorf

func (c *ClogShim) Errorf(format string, v ...any)

func (*ClogShim) Fatal

func (c *ClogShim) Fatal(v ...any)

func (*ClogShim) Fatalf

func (c *ClogShim) Fatalf(format string, v ...any)

func (*ClogShim) Info

func (c *ClogShim) Info(v ...any)

func (*ClogShim) Infof

func (c *ClogShim) Infof(format string, v ...any)

func (*ClogShim) Warn

func (c *ClogShim) Warn(v ...any)

func (*ClogShim) Warnf

func (c *ClogShim) Warnf(format string, v ...any)

Jump to

Keyboard shortcuts

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