timewriter

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

timewriter.go https://github.com/longbozhan/timewriter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeWriter

type TimeWriter struct {
	Dir           string
	Compress      bool
	ReserveDay    int
	LogFilePrefix string
	// contains filtered or unexported fields
}

func (*TimeWriter) Close

func (l *TimeWriter) Close() error

func (*TimeWriter) Rotate

func (l *TimeWriter) Rotate() error

func (*TimeWriter) Write

func (l *TimeWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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