Documentation ¶
Overview ¶
Structured logging handler for logrus so we can rewrite code to use slog package incrementally. Once all logging is happening via slog, we just need to hook up Sentry directly to that, and then we can get rid of this file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogrusHandler ¶ added in v8.3.1
type LogrusHandler struct {
// contains filtered or unexported fields
}
func NewLogrusHandler ¶ added in v8.3.1
func NewLogrusHandler(logger *logrus.Logger) *LogrusHandler
Click to show internal directories.
Click to hide internal directories.