logger

package
v0.0.0-...-3987d75 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRotatelogsWriter

func NewRotatelogsWriter(options mate.Options) (writer io.Writer, err error)

Types

type RotatelogsConf

type RotatelogsConf struct {
	LinkName      string `json:"link-name"`
	Clock         string `json:"clock"`
	RotationTime  string `json:"rotation-time"`
	RotationCount int64  `json:"rotation-count"`
	MaxAge        string `json:"max-age"`
}

func (RotatelogsConf) GetClock

func (c RotatelogsConf) GetClock() rotatelogs.Clock

func (RotatelogsConf) GetLinkName

func (c RotatelogsConf) GetLinkName() string

func (RotatelogsConf) GetMaxAge

func (c RotatelogsConf) GetMaxAge() (d time.Duration)

func (RotatelogsConf) GetRotationCount

func (c RotatelogsConf) GetRotationCount() uint

func (RotatelogsConf) GetRotationTime

func (c RotatelogsConf) GetRotationTime() (d time.Duration)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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