Documentation ¶
Overview ¶
Package protobuf is a generated protocol buffer package.
It is generated from these files:
entry.proto
It has these top-level messages:
Entry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
Marshal is an implementation of a MarshalFunc specifically for use with this handler. Although it accepts an empty interface type, it will only work with an apex.log.Entry type, and will return an error if any other type is passed in. Not that this mechanism also enforces the rule that any fields set must either be strings or satisfy the fmt.Stringer interface.
Types ¶
type Entry ¶
type Entry struct { Fields map[string]string `` /* 132-byte string literal not displayed */ Level string `protobuf:"bytes,2,opt,name=Level" json:"Level,omitempty"` Timestamp []byte `protobuf:"bytes,3,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` Message string `protobuf:"bytes,4,opt,name=Message" json:"Message,omitempty"` }
Click to show internal directories.
Click to hide internal directories.