package stdio

import 

// Flusher interface
type Flusher interface {
	Flush() error
}

// Syncer interface
type Syncer interface {
	Sync() error
}

// FlushWriter is the interface satisfied by logging destinations.
type FlushWriter interface {
	Flusher
	// Writer the output writer
	io.Writer
}

// FlushCloseWriter is the interface satisfied by logging destinations.
type FlushCloseWriter interface {
	Flusher
	// WriteCloser the output writer
	io.WriteCloser
}

// SyncCloseWriter is the interface satisfied by logging destinations.
// such as os.File
type SyncCloseWriter interface {
	Syncer
	// WriteCloser the output writer
	io.WriteCloser
}