writer

package
v0.0.0-...-a2093d6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-2.1 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() io.Writer

func DefaultRotateFileWriter

func DefaultRotateFileWriter(filename string) io.Writer

func NewFileWriter

func NewFileWriter(file interface{}) io.Writer

NewFileWriter file can be a string, io.Writer

func NewRotateFileWriter

func NewRotateFileWriter(filename string, rotateTime time.Duration, expireTime time.Duration) io.Writer

NewRotateFileWriter Rotate output and split local log files to avoid accumulation of excessive log content in a log file 轮转输出, 分割本地日志文件, 避免一个日志文件中堆积过多日志内容

func StandardErrorWriter

func StandardErrorWriter() io.Writer

func StandardOutWriter

func StandardOutWriter() io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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