output

package
v0.0.0-...-1f4ee57 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSink

func RegisterSink()

Types

type Kibana

type Kibana struct {
	Interface   string        `json:"interface,omitempty"`
	ProcessTime time.Duration `json:"processTime,omitempty"`
	Param       string        `json:"param,omitempty"`
	Result      string        `json:"result,omitempty"`
	Other       string        `json:"other,omitempty"`
}

func (*Kibana) MarshalLogObject

func (k *Kibana) MarshalLogObject(e zapcore.ObjectEncoder) error

type LogKafka

type LogKafka struct {
	Producer sarama.SyncProducer
	Topic    string
}

func (*LogKafka) Write

func (lk *LogKafka) Write(b []byte) (n int, err error)

type LoggerCall

type LoggerCall struct {
	HookLevel zapcore.Level
	HookURL   []string //上报地址
	AtMan     string   //@人
	CallMan   []string //手机号
}

func (*LoggerCall) Write

func (th *LoggerCall) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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