Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SDLogInstance = NewSDLog()
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { AccountID string `json:"accountID"` Level string `json:"level"` Ts int64 `json:"ts"` Msg string `json:"msg"` RequestID string `json:"requestID"` Source string `json:"source"` }
Log ...
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func NewMonitor() *Monitor
type SDLog ¶
type SDLog struct { LogFlow chan string TraceFlow chan []string // contains filtered or unexported fields }
SDLog sd log instance
func (*SDLog) AddRequestId ¶
func (*SDLog) DelRequestId ¶
Click to show internal directories.
Click to hide internal directories.