logforward

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ATTR_KEY   = "github.com/mandelsoft/logforward"
	ATTR_SHORT = "logfwd"
)

Variables

This section is empty.

Functions

func Get

func Get(ctx datacontext.Context) *logcfg.Config

func Set

func Set(ctx datacontext.Context, c *logcfg.Config)

Types

type AttributeType

type AttributeType struct{}

func (AttributeType) Decode

func (a AttributeType) Decode(data []byte, unmarshaller runtime.Unmarshaler) (interface{}, error)

func (AttributeType) Description

func (a AttributeType) Description() string

func (AttributeType) Encode

func (a AttributeType) Encode(v interface{}, marshaller runtime.Marshaler) ([]byte, error)

func (AttributeType) Name

func (a AttributeType) Name() string

Jump to

Keyboard shortcuts

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