Documentation ¶
Index ¶
- func FromContext(ctx context.Context) logrus.FieldLogger
- func FromRequest(r *http.Request) logrus.FieldLogger
- func InitKLog(l logrus.FieldLogger, level logrus.Level)
- func IntoContext(ctx context.Context, l logrus.FieldLogger) context.Context
- func IntoRequest(r *http.Request, l logrus.FieldLogger) *http.Request
- func NewLogger(level logrus.Level) logrus.FieldLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
func FromContext(ctx context.Context) logrus.FieldLogger
func FromRequest ¶
func FromRequest(r *http.Request) logrus.FieldLogger
func IntoContext ¶
func IntoRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.