domain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry = orderedmap.OrderedMap

type Level

type Level string
const (
	LevelDebug   Level = "debug"
	LevelError   Level = "error"
	LevelInfo    Level = "info"
	LevelWarning Level = "warning"
	LevelFatal   Level = "fatal"
	LevelPanic   Level = "panic"
)

func (Level) String

func (l Level) String() string

type LogEntry

type LogEntry struct {
	ID         string
	Timestamp  time.Time
	Level      Level
	Message    string
	Fields     orderedmap.OrderedMap
	Caller     string
	Stacktrace string
}

type LogField

type LogField struct {
	Key   string
	Value interface{}
}

Jump to

Keyboard shortcuts

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