log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWriter

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

func NewFileWriter

func NewFileWriter(name string, mode os.FileMode) (*FileWriter, error)

func (*FileWriter) Close

func (writer *FileWriter) Close() error

func (*FileWriter) Reopen

func (writer *FileWriter) Reopen() error

func (*FileWriter) Write

func (writer *FileWriter) Write(p []byte) (int, error)

type Reopener

type Reopener interface {
	Reopen() error
}

type WriteCloser

type WriteCloser interface {
	Reopener
	io.WriteCloser
}

type Writer

type Writer interface {
	Reopener
	io.Writer
}

Jump to

Keyboard shortcuts

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