logrotate

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFileDir    = "/logs"
	LogFilePrefix = "operator"
)

Variables

View Source
var LogFilePath = path.Join(LogFileDir, fmt.Sprintf("%s.log", LogFilePrefix))

Functions

func LogFile

func LogFile() (*os.File, error)

func StartRotate

func StartRotate() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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