package
Version:
v0.0.0-...-73c8340
Opens a new window with list of versions in this module.
Published: Dec 23, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func DefaultConverter(entry *log.Entry, event *sentry.Event, hub *sentry.Hub)
DefaultConverter is the default log converter.
type Converter func(entry *log.Entry, event *sentry.Event, hub *sentry.Hub)
Converter converts log entry to sentry.
Hook is a logrus hook structure.
New creates a new logrus hook.
Fire sends an event to sentry.
Levels returns the valid log levels to hook.
type Option func(h *Hook)
Option are sentry options.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.