wfutil

package
v0.0.0-...-e79a465 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogInit

func LogInit(d bool, filelogger bool, f string) *zap.SugaredLogger

func logInit(d bool, f *os.File) *zap.SugaredLogger {

func TouchFile

func TouchFile(name string) error

create log file:

Types

type WriteSyncer

type WriteSyncer struct {
	io.Writer
}

func (WriteSyncer) Sync

func (ws WriteSyncer) Sync() error

Jump to

Keyboard shortcuts

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