rotatelog

package
v0.0.0-...-015aed0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWithYaml

func InitWithYaml(ypath string, e *echo.Echo) error

Types

type Config

type Config struct {
	Prefix    string            `yaml:"Prefix"`
	Level     int               `yaml:"Level"`
	Header    string            `yaml:"Header"`
	RotateLog lumberjack.Logger `yaml:"RotateLog"`
}

type Outer

type Outer struct {
	Config Config `yaml:"log/rotatelog"`
}

Jump to

Keyboard shortcuts

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