Documentation ¶
Index ¶
- func CtxFields(ctx context.Context) log.Fields
- func RandStringRunes(n int) string
- func SetupGrayLog(gelfAddr string, appMode string)
- func ShortEventInfo(event *model.Event) string
- func WithLogField(ctx context.Context, key string, value interface{}) context.Context
- func WithLogFields(ctx context.Context, fields log.Fields) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringRunes ¶
func SetupGrayLog ¶
func ShortEventInfo ¶ added in v1.1.90
func WithLogField ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.