logger

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentName

type ComponentName string
var (
	ComponentMain      ComponentName = "main"
	ComponentStorage   ComponentName = "storage"
	ComponentCollector ComponentName = "collector"
	ComponentExecutor  ComponentName = "executor"
	ComponentRobot     ComponentName = "robot"
	ComponentParser    ComponentName = "parser"
	ComponentBatch     ComponentName = "batch"
)

type Labels

type Labels struct {
	Version   string
	UserName  string
	OrgName   string
	Component ComponentName
	ChName    string
	DstChName string
	SrcChName string
}

func (Labels) Fields

func (l Labels) Fields() (fields []glog.Field)

Jump to

Keyboard shortcuts

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