logger

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 2 Imported by: 16 modules, 34 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Debuger

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

type Errorer

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

type Informer

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

type Level

type Level uint8
const (
	Panic Level = iota
	Error
	Warn
	Info
	Debug
)

func (Level) String

func (i Level) String() string

type Logger

type Logger interface {
	Panicer
	Errorer
	Warner
	Informer
	Debuger
	Printer

	GetLogger(name string) Logger
}

Logger : General slog interface for any implementation.

type Panicer

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

type Printer

type Printer interface {
	Printf(string, ...interface{})
	Print(...interface{})
}

type Warner

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

Jump to

Keyboard shortcuts

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