logger

package
v0.0.0-...-01a130c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

TailLogger is an implementation of logger that will tail provide a log stream as well as, optionally, print logs to the console

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TailLogger

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

TailLogger implements logger.Logger interface with output to a stream

func (*TailLogger) Err

func (c *TailLogger) Err(bytes []byte)

Err implements logger.Logger.Err.

func (*TailLogger) ErrLines

func (c *TailLogger) ErrLines(bytes []byte) *Line

StreamErr will return an ioReader to StdErr object back to the caller which can be streamed from.

func (*TailLogger) Out

func (c *TailLogger) Out(bytes []byte)

Out implements logger.Logger.Out.

func (*TailLogger) OutLines

func (c *TailLogger) OutLines(bytes []byte) *Line

StreamOut will return an ioReader to StdOut back to the caller which can be streamed from.

type TailLoggerFactory

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

TailLoggerFactory Implements the logger.Factory interface for TailLogger

func (*TailLoggerFactory) Create

func (c *TailLoggerFactory) Create(name string) logger.Logger

Create implements logger.Factory.Create.

Jump to

Keyboard shortcuts

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