logger

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Addr added in v0.4.1

func Addr(addr string) zap.Field

func App added in v0.4.1

func App(appID string) zap.Field

func Base added in v0.4.1

func Base(base map[string]interface{}) zap.Field

func Channel added in v0.4.1

func Channel(channel string) zap.Field

func Cluster added in v0.4.1

func Cluster(cid uint64) zap.Field

func Count added in v0.4.1

func Count(n int64) zap.Field

func Desc added in v0.4.1

func Desc(description string) zap.Field

func DispatcherID added in v0.4.1

func DispatcherID(id string) zap.Field

func DispatcherName added in v0.4.1

func DispatcherName(name string) zap.Field

func Eid added in v0.4.1

func Eid(id string) zap.Field

Eid returns enitty id field.

func Elapsed added in v0.4.1

func Elapsed(duration time.Duration) zap.Field

func Elapsedms added in v0.4.1

func Elapsedms(duration time.Duration) zap.Field

func Endpoints added in v0.4.1

func Endpoints(endpoints []string) zap.Field

func Event added in v0.4.1

func Event(ev cloudevents.Event) zap.Field

func FailureStatusEvent added in v0.4.1

func FailureStatusEvent(w io.Writer, fmtstr string, a ...interface{})

FailureStatusEvent reports on a failure event.

func Group added in v0.4.1

func Group(group string) zap.Field
func Header(header map[string]string) zap.Field

func Host added in v0.4.1

func Host(host string) zap.Field

func ID added in v0.4.1

func ID(id string) zap.Field

func InfoStatusEvent added in v0.4.1

func InfoStatusEvent(w io.Writer, fmtstr string, a ...interface{})

InfoStatusEvent reports status information on an event.

func Key added in v0.4.1

func Key(key string) zap.Field

func Lease added in v0.4.1

func Lease(lease int64) zap.Field

func Member added in v0.4.1

func Member(mid uint64) zap.Field

func Message added in v0.4.1

func Message(msg interface{}) zap.Field

Message returns message field.

func Method added in v0.4.1

func Method(method string) zap.Field

func Mid added in v0.4.1

func Mid(id string) zap.Field

Mid returns mapper id field.

func MsgID added in v0.4.1

func MsgID(msgID string) zap.Field

MsgID returns message id field.

func Name added in v0.4.1

func Name(name string) zap.Field

func Offset added in v0.4.1

func Offset(offset int64) zap.Field

func Op added in v0.4.1

func Op(op string) zap.Field

Op returns operator field.

func Owner added in v0.4.1

func Owner(owner string) zap.Field

func PK added in v0.4.1

func PK(key string) zap.Field

PK returns property key field.

func Partition added in v0.4.1

func Partition(partition int32) zap.Field

func Path added in v0.4.1

func Path(path string) zap.Field

func Payload added in v0.4.1

func Payload(payload []byte) zap.Field

func PendingStatusEvent added in v0.4.1

func PendingStatusEvent(w io.Writer, fmtstr string, a ...interface{})

PendingStatusEvent reports on a pending event.

func Port added in v0.4.1

func Port(port int) zap.Field

func Prefix added in v0.4.1

func Prefix(prefix string) zap.Field

func Pubsub added in v0.4.1

func Pubsub(pubsub string) zap.Field

func Queue added in v0.4.1

func Queue(v interface{}) zap.Field

func Reason added in v0.4.1

func Reason(reason string) zap.Field

func Receiver added in v0.4.1

func Receiver(receiver string) zap.Field

func ReqID added in v0.4.1

func ReqID(reqID string) zap.Field

ReqID returns request id field.

func Revision added in v0.4.1

func Revision(revision uint64) zap.Field

func Sender added in v0.4.1

func Sender(sender string) zap.Field

func Source added in v0.4.1

func Source(source string) zap.Field

func Spec added in v0.4.1

func Spec(spec string) zap.Field

func Status added in v0.3.0

func Status(status string) zap.Field

Status returns status key field.

func SuccessStatusEvent added in v0.4.1

func SuccessStatusEvent(w io.Writer, fmtstr string, a ...interface{})

SuccessStatusEvent reports on a success event.

func TQL added in v0.4.1

func TQL(tql string) zap.Field

TQL returns TQL field.

func Target added in v0.3.0

func Target(target string) zap.Field

Target return target key field.

func Template added in v0.4.1

func Template(tid string) zap.Field

func Term added in v0.4.1

func Term(term int64) zap.Field

func Topic added in v0.4.1

func Topic(topic string) zap.Field

func Type added in v0.3.0

func Type(t string) zap.Field

Type return type key field.

func Value added in v0.4.1

func Value(val interface{}) zap.Field

func Version

func Version(version int64) zap.Field

func WarningStatusEvent added in v0.4.1

func WarningStatusEvent(w io.Writer, fmtstr string, a ...interface{})

WarningStatusEvent reports on a failure event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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