Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
Logger simply wraps the zerolog logger.
func LoggerFromConfig ¶ added in v1.16.0
LoggerFromConfig initializes a service-specific logger instance.
type LogrusWrapper ¶ added in v1.18.0
type LogrusWrapper struct {
// contains filtered or unexported fields
}
LogrusWrapper around zerolog. Required because idp uses logrus internally.
func (*LogrusWrapper) Fire ¶ added in v1.18.0
func (h *LogrusWrapper) Fire(entry *logrus.Entry) error
Fire called by logrus on new message
func (*LogrusWrapper) Levels ¶ added in v1.18.0
func (h *LogrusWrapper) Levels() []logrus.Level
Levels on which logrus hooks should be triggered
Click to show internal directories.
Click to hide internal directories.