simple

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimpleRotate

func NewSimpleRotate(opts ...Option) (logrus.Hook, error)

Types

type Option

type Option func(*Options)
func WithLink(link string) Option

func WithLogName

func WithLogName(logName string) Option

func WithMaxAge

func WithMaxAge(maxAge time.Duration) Option

func WithPath

func WithPath(path string) Option

func WithRotate

func WithRotate(rotate time.Duration) Option

type Options

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

Jump to

Keyboard shortcuts

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