logx

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldComponent = "component"
	FieldNodeTag   = "node_tag"
	FieldTask      = "task"
)

Variables

This section is empty.

Functions

func Component

func Component(name string) *log.Entry

func Node

func Node(tag string) *log.Entry

func Task

func Task(name string) *log.Entry

func WithNodeTag

func WithNodeTag(entry *log.Entry, tag string) *log.Entry

Types

type Config

type Config struct {
	Level  string
	Output string
}

type Handle

type Handle struct {
	// contains filtered or unexported fields
}

func Setup

func Setup(cfg Config) (*Handle, error)

func (*Handle) Close

func (h *Handle) Close() error

Jump to

Keyboard shortcuts

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