Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogRecord ¶ added in v0.18.0
type LogRecord struct {
Context map[string]interface{} `json:"context,omitempty"`
Category string `json:"category,omitempty"`
AppName string `json:"appname"`
HostName string `json:"hostname"`
LogLevel string `json:"logLevel"`
FileName string `json:"filename"`
FuncName string `json:"funcName"`
LineNo int `json:"lineno"`
Message string `json:"message"`
Timestamp number `json:"timestamp"`
CID string `json:"cid,omitempty"`
PID int `json:"pid,omitempty"`
TID string `json:"tid,omitempty"`
ExcType string `json:"excType,omitempty"`
ExcText string `json:"excText,omitempty"`
ExcValue string `json:"excValue,omitempty"`
}
func (*LogRecord) FromFields ¶ added in v0.18.0
func (LogRecord) MarshalEasyJSON ¶ added in v0.18.0
MarshalEasyJSON supports easyjson.Marshaler interface
func (LogRecord) MarshalJSON ¶ added in v0.18.0
MarshalJSON supports json.Marshaler interface
func (*LogRecord) UnmarshalEasyJSON ¶ added in v0.18.0
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*LogRecord) UnmarshalJSON ¶ added in v0.18.0
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.