Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger(logger logrus.FieldLogger) func(*logrusAdapter)
Logger sets a logrus instance in the logrus adapter.
Types ¶
type Option ¶
type Option func(*logrusAdapter)
Option sets options in the logrus adapter.
func DefaultLevel ¶
DefaultLevel sets the default log level. By default, it's INFO.
func MessageKey ¶
MessageKey sets the key for the actual log message. By default, it's "msg".
Click to show internal directories.
Click to hide internal directories.