go_micro_os_log

package
v0.0.0-...-2efaa0c Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*Event) GetFields

func (m *Event) GetFields() map[string]string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

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

Jump to

Keyboard shortcuts

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