file

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package file provides file logging related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YAMLFileConfig

type YAMLFileConfig struct {
	EnabledOption    bool   `yaml:"enabled"`
	FilenameOption   string `yaml:"filename"`
	MaxSizeOption    int    `yaml:"max_size"`
	MaxAgeOption     int    `yaml:"max_age"`
	MaxBackupsOption int    `yaml:"max_backups"`
	CompressOption   bool   `yaml:"compress"`
}

func (*YAMLFileConfig) NewWriter

func (config *YAMLFileConfig) NewWriter() io.Writer

Jump to

Keyboard shortcuts

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