logger

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2025 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log *logrus.Logger
)

Functions

func LogAndCapture

func LogAndCapture(message string, args ...interface{})

Types

type SentryHook

type SentryHook struct {
	// contains filtered or unexported fields
}

func NewSentryHook

func NewSentryHook() *SentryHook

func (*SentryHook) Fire

func (hook *SentryHook) Fire(entry *logrus.Entry) error

func (*SentryHook) Levels

func (hook *SentryHook) Levels() []logrus.Level

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL