Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalLog ¶
func SetInfoLog ¶
func SetInfoLog(infoLog Printfer)
Types ¶
type LogE ¶
type LogE struct {
Time time.Time `json:"time,omitempty"`
Level string `json:"level,omitempty"`
SrcFile string `json:"srcf,omitempty"`
Line int `json:"line,omitempty"`
FuncName string `json:"func,omitempty"`
Msg string `json:"msg,omitempty"`
Marker string `json:"marker,omitempty"`
Err error `json:"error,omitempty"`
Fields map[string]interface{} `json:"fields,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.