L

package module
v0.0.0-...-4d56abb Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 2 Imported by: 9

README

L

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Nop nop

Functions

func Error

func Error(l L, msg string, pairs ...interface{}) error

Types

type L

type L interface {
	Named(string) L
	With(...interface{}) L

	SkipCaller(int) L

	Debug(string, ...interface{})
	Debugf(string, ...interface{})

	Info(string, ...interface{})
	Infof(string, ...interface{})

	Warn(string, ...interface{})
	Warnf(string, ...interface{})

	Error(string, ...interface{})
	Errorf(string, ...interface{})

	Fatal(string, ...interface{})
	Fatalf(string, ...interface{})

	Panic(string, ...interface{})
	Panicf(string, ...interface{})

	DPanic(string, ...interface{})
	DPanicf(string, ...interface{})
}

func Unwrap

func Unwrap(l L) L

type Nullable

type Nullable struct{ L }

func N

func N(l L) Nullable

func (Nullable) DPanic

func (n Nullable) DPanic(s string, args ...interface{})

func (Nullable) DPanicf

func (n Nullable) DPanicf(s string, args ...interface{})

func (Nullable) Debug

func (n Nullable) Debug(s string, args ...interface{})

func (Nullable) Debugf

func (n Nullable) Debugf(s string, args ...interface{})

func (Nullable) Error

func (n Nullable) Error(s string, args ...interface{})

func (Nullable) Errorf

func (n Nullable) Errorf(s string, args ...interface{})

func (Nullable) Fatal

func (n Nullable) Fatal(s string, args ...interface{})

func (Nullable) Fatalf

func (n Nullable) Fatalf(s string, args ...interface{})

func (Nullable) Info

func (n Nullable) Info(s string, args ...interface{})

func (Nullable) Infof

func (n Nullable) Infof(s string, args ...interface{})

func (Nullable) Named

func (n Nullable) Named(name string) L

func (Nullable) Panic

func (n Nullable) Panic(s string, args ...interface{})

func (Nullable) Panicf

func (n Nullable) Panicf(s string, args ...interface{})

func (*Nullable) Set

func (n *Nullable) Set(l L)

func (Nullable) SkipCaller

func (n Nullable) SkipCaller(i int) L

func (*Nullable) Unwrap

func (n *Nullable) Unwrap() L

func (Nullable) Warn

func (n Nullable) Warn(s string, args ...interface{})

func (Nullable) Warnf

func (n Nullable) Warnf(s string, args ...interface{})

func (Nullable) With

func (n Nullable) With(vs ...interface{}) L

type Silent

type Silent struct{ L }

func (Silent) DPanic

func (sl Silent) DPanic(s string, args ...interface{})

func (Silent) DPanicf

func (sl Silent) DPanicf(s string, args ...interface{})

func (Silent) Debug

func (sl Silent) Debug(s string, args ...interface{})

func (Silent) Debugf

func (sl Silent) Debugf(s string, args ...interface{})

func (Silent) Error

func (sl Silent) Error(s string, args ...interface{})

func (Silent) Errorf

func (sl Silent) Errorf(s string, args ...interface{})

func (Silent) Fatal

func (sl Silent) Fatal(s string, args ...interface{})

func (Silent) Fatalf

func (sl Silent) Fatalf(s string, args ...interface{})

func (Silent) Info

func (sl Silent) Info(s string, args ...interface{})

func (Silent) Infof

func (sl Silent) Infof(s string, args ...interface{})

func (Silent) Named

func (sl Silent) Named(name string) L

func (Silent) Panic

func (sl Silent) Panic(s string, args ...interface{})

func (Silent) Panicf

func (sl Silent) Panicf(s string, args ...interface{})

func (Silent) SkipCaller

func (sl Silent) SkipCaller(i int) L

func (Silent) Warn

func (sl Silent) Warn(s string, args ...interface{})

func (Silent) Warnf

func (sl Silent) Warnf(s string, args ...interface{})

func (Silent) With

func (sl Silent) With(vs ...interface{}) L

Directories

Path Synopsis
Z

Jump to

Keyboard shortcuts

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