common

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LevelTrace  = slog.Level(-8)  // new
	LevelDebug  = slog.LevelDebug // -4
	LevelInfo   = slog.LevelInfo  // 0
	LevelNotice = slog.Level(2)   // new
	LevelWarn   = slog.LevelWarn  // 4
	LevelError  = slog.LevelError // 8
	LevelFatal  = slog.Level(12)  // new

	ColorOff ColorMode = iota
	ColorSmart
	ColorMedium
	ColorFull

	SymbolNone SymbolSet = iota
	SymbolUnicodeUp
	SymbolUnicodeDown

	TplTime Tpl = iota
	TplUptime
	TplLevel
	TplSource
	TplMessage
	TplAttrs

	UptimeAdhoc UptimeFormat = iota
	UptimeStd
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorMode

type ColorMode int

type SymbolSet added in v0.2.0

type SymbolSet int

type Tpl added in v0.2.0

type Tpl int

type UptimeFormat added in v0.2.0

type UptimeFormat int

Jump to

Keyboard shortcuts

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