Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_middleware_logging_v1_logging_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Logging ¶
type Logging struct { TimeFormat string `protobuf:"bytes,1,opt,name=time_format,json=timeFormat,proto3" json:"time_format,omitempty"` // time format, default is 2006-01-02T15:04:05.999Z0700 SlowThreshold *durationpb.Duration `protobuf:"bytes,2,opt,name=slow_threshold,json=slowThreshold,proto3" json:"slow_threshold,omitempty"` // slow threshold, default is 300ms // contains filtered or unexported fields }
logging middleware config.
func (*Logging) Descriptor
deprecated
func (*Logging) GetSlowThreshold ¶
func (x *Logging) GetSlowThreshold() *durationpb.Duration
func (*Logging) GetTimeFormat ¶
func (*Logging) ProtoMessage ¶
func (*Logging) ProtoMessage()
func (*Logging) ProtoReflect ¶
func (x *Logging) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.