log_writer

package
v1.1.26 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileIsDirErr

type FileIsDirErr struct {
	// contains filtered or unexported fields
}

func (FileIsDirErr) Error

func (e FileIsDirErr) Error() string

type LogWriter

type LogWriter struct {
	// contains filtered or unexported fields
}

func NewLogWriter

func NewLogWriter(service, path, when string) (lw *LogWriter, err error)

func (*LogWriter) Close

func (lw *LogWriter) Close() error

func (*LogWriter) NewFile

func (lw *LogWriter) NewFile() (err error)

func (*LogWriter) Sync

func (lw *LogWriter) Sync() error

func (*LogWriter) Write

func (lw *LogWriter) 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