hooks

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWriterHook

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

func NewFileWriterHook

func NewFileWriterHook(logFolder string, logName string) *FileWriterHook

func (*FileWriterHook) Close

func (hook *FileWriterHook) Close() error

func (*FileWriterHook) Fire

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

func (*FileWriterHook) Levels

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

Jump to

Keyboard shortcuts

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