loglevel

package
v0.0.0-...-9f5860f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TFilter

type TFilter uint

TFilter -

const (
	All TFilter = 1<<uint(TooHigh) - 1
)

General loglevel filters

func (TFilter) Exclude

func (o TFilter) Exclude(f TFilter) TFilter

Exclude -

func (TFilter) Include

func (o TFilter) Include(f TFilter) TFilter

Include -

func (TFilter) Intersect

func (o TFilter) Intersect(f TFilter) TFilter

Intersect -

func (TFilter) String

func (o TFilter) String() string

String -

type TLevel

type TLevel int

TLevel -

const (
	TooLow TLevel = -1 + iota
	Panic
	Error
	Warning
	Reset
	Notice
	Info
	Debug
	TooHigh
)

General loglevel flags

func (TLevel) Above

func (o TLevel) Above() TFilter

Above -

func (TLevel) Below

func (o TLevel) Below() TFilter

Below -

func (TLevel) In

func (o TLevel) In(f TFilter) bool

In -

func (TLevel) NotIn

func (o TLevel) NotIn(f TFilter) bool

NotIn -

func (TLevel) Only

func (o TLevel) Only() TFilter

Only -

func (TLevel) OrHigher

func (o TLevel) OrHigher() TFilter

OrHigher -

func (TLevel) OrLower

func (o TLevel) OrLower() TFilter

OrLower -

func (TLevel) String

func (o TLevel) String() string

String -

Jump to

Keyboard shortcuts

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