Documentation ¶
Index ¶
- func FromContext(ctx context.Context) logrus.FieldLogger
- func FromRequest(r *http.Request) logrus.FieldLogger
- 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
- func Pod(pod *corev1.Pod) logrus.Fields
- func ShouldLog(thisLevel logrus.Level) bool
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.