filesystem

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesystemHook

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

func New

func New(path string) (*FilesystemHook, error)

func (*FilesystemHook) Fire

func (h *FilesystemHook) Fire(entry *logrus.Entry) error

Fire serializes and writes the log entry to file.

func (*FilesystemHook) Levels

func (h *FilesystemHook) Levels() []logrus.Level

Levels returns the available logging levels.

Jump to

Keyboard shortcuts

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