Documentation ¶
Overview ¶
Package go_micro_os_log is a generated protocol buffer package.
It is generated from these files:
github.com/micro/go-os/log/proto/log.proto
It has these top-level messages:
Event
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Event_Level_name = map[int32]string{
0: "DEBUG",
1: "INFO",
2: "WARN",
3: "ERROR",
4: "FATAL",
}
View Source
var Event_Level_value = map[string]int32{
"DEBUG": 0,
"INFO": 1,
"WARN": 2,
"ERROR": 3,
"FATAL": 4,
}
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Level Event_Level `protobuf:"varint,1,opt,name=level,enum=go.micro.os.log.Event_Level" json:"level,omitempty"` Fields map[string]string `` /* 132-byte string literal not displayed */ Timestamp int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Message string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Event_Level ¶
type Event_Level int32
const ( Event_DEBUG Event_Level = 0 Event_INFO Event_Level = 1 Event_WARN Event_Level = 2 Event_ERROR Event_Level = 3 Event_FATAL Event_Level = 4 )
func (Event_Level) EnumDescriptor ¶
func (Event_Level) EnumDescriptor() ([]byte, []int)
func (Event_Level) String ¶
func (x Event_Level) String() string
Click to show internal directories.
Click to hide internal directories.