Documentation ¶
Index ¶
Constants ¶
View Source
const SUB_REQ_ID = "sub-id"
Variables ¶
This section is empty.
Functions ¶
func GetHostName ¶
func GetHostName() string
Types ¶
type ClientLogger ¶
func CloneLogger ¶
func CloneLogger(log *ClientLogger) *ClientLogger
use unique loggerId for every specific op
func CloneLoggerAssignReqId ¶
func CloneLoggerAssignReqId(log *ClientLogger, reqId string) *ClientLogger
func GenSubLogger ¶
func GenSubLogger(log *ClientLogger) *ClientLogger
func NewLogger ¶
func NewLogger(logCfg *log.Config) *ClientLogger
func (*ClientLogger) GetReqId ¶
func (c *ClientLogger) GetReqId() string
Click to show internal directories.
Click to hide internal directories.