logstreamer

package
v0.0.0-...-2bb29a1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logstreamer

type Logstreamer struct {
	Logger *log.Logger
	// contains filtered or unexported fields
}

func NewLogstreamer

func NewLogstreamer(logger *log.Logger, prefix string, record bool) *Logstreamer

func (*Logstreamer) Close

func (l *Logstreamer) Close() error

func (*Logstreamer) Flush

func (l *Logstreamer) Flush() error

func (*Logstreamer) FlushRecord

func (l *Logstreamer) FlushRecord() string

func (*Logstreamer) OutputLines

func (l *Logstreamer) OutputLines() (err error)

func (*Logstreamer) Write

func (l *Logstreamer) 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