Documentation ¶
Index ¶
- Variables
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)deprecated
- func (x *LogEntry) GetId() int32
- func (x *LogEntry) GetLevel() LogLevel
- func (x *LogEntry) GetMessage() string
- func (x *LogEntry) GetTimestamp() *timestamp.Timestamp
- func (*LogEntry) ProtoMessage()
- func (x *LogEntry) ProtoReflect() protoreflect.Message
- func (x *LogEntry) Reset()
- func (x *LogEntry) String() string
- type LogLevel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogLevel_name = map[int32]string{ 0: "LOG_LEVEL_UNSPECIFIED", 1: "LOG_LEVEL_TRACE", 2: "LOG_LEVEL_DEBUG", 3: "LOG_LEVEL_INFO", 4: "LOG_LEVEL_WARNING", 5: "LOG_LEVEL_ERROR", 6: "LOG_LEVEL_CRITICAL", } LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_TRACE": 1, "LOG_LEVEL_DEBUG": 2, "LOG_LEVEL_INFO": 3, "LOG_LEVEL_WARNING": 4, "LOG_LEVEL_ERROR": 5, "LOG_LEVEL_CRITICAL": 6, } )
Enum value maps for LogLevel.
View Source
var File_determined_log_v1_log_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LogEntry ¶
type LogEntry struct { // The id. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The message. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // The timestamp. Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The log level. Level LogLevel `protobuf:"varint,4,opt,name=level,proto3,enum=determined.log.v1.LogLevel" json:"level,omitempty"` // contains filtered or unexported fields }
LogEntry is a log event.
func (*LogEntry) Descriptor
deprecated
func (*LogEntry) GetMessage ¶
func (*LogEntry) GetTimestamp ¶
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) ProtoReflect ¶
func (x *LogEntry) ProtoReflect() protoreflect.Message
type LogLevel ¶
type LogLevel int32
LogLevel specifies the level for a log.
const ( // Unspecified log level. LogLevel_LOG_LEVEL_UNSPECIFIED LogLevel = 0 // A log level of TRACE. LogLevel_LOG_LEVEL_TRACE LogLevel = 1 // A log level of DEBUG. LogLevel_LOG_LEVEL_DEBUG LogLevel = 2 // A log level of INFO. LogLevel_LOG_LEVEL_INFO LogLevel = 3 // A log level of WARNING. LogLevel_LOG_LEVEL_WARNING LogLevel = 4 // A log level of ERROR. LogLevel_LOG_LEVEL_ERROR LogLevel = 5 // A log level of CRITICAL. LogLevel_LOG_LEVEL_CRITICAL LogLevel = 6 )
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.