Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptLogrus ¶
AdaptLogrus replaces logr formatter by wrapped logger
func AdaptStandardLogger ¶
AdaptStandardLogger replaces logrus.StandardLogger() formatter by wrapped logger
Types ¶
type LogrusAdapter ¶
type LogrusAdapter struct {
// contains filtered or unexported fields
}
type Option ¶
type Option func(*LogrusAdapter)
func ConvertPrefix ¶
func ConvertPrefix() Option
func DontAdaptCallstack ¶
func DontAdaptCallstack() Option
Click to show internal directories.
Click to hide internal directories.