Documentation
¶
Overview ¶
Package log provides log for cube master.
Package log provides log
Index ¶
- Variables
- func GetLogger(ctx context.Context) *CubeLog.Entry
- func Init(conf *Conf)
- func IsDebug() bool
- func OnChangeConf(c *Conf)
- func ReNewLogger(ctx context.Context) context.Context
- func Report(ctx context.Context, cost time.Duration, code int64)
- func ReportExt(ctx context.Context, callee, endpoint, action, calleeAction string, ...)
- func TraceReport(reqID string, startTime time.Time, callee, calleeEndPoint, action string, ...)
- func WithLogger(ctx context.Context, e *CubeLog.Entry) context.Context
- type Conf
Constants ¶
This section is empty.
Variables ¶
View Source
var (
G = GetLogger
)
Functions ¶
func OnChangeConf ¶
func OnChangeConf(c *Conf)
func TraceReport ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.