Version: v0.4.0 Latest Latest

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

Go to latest
Published: Jan 10, 2017 License: Apache-2.0 Imports: 6 Imported by: 82




This section is empty.


This section is empty.


This section is empty.


type ColorLogger

type ColorLogger struct {
	// contains filtered or unexported fields

ColorLogger implements logger.Logger interface with color support.

func (*ColorLogger) Err

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

Err implements logger.Logger.Err.

func (*ColorLogger) ErrWriter added in v0.3.0

func (c *ColorLogger) ErrWriter() io.Writer

ErrWriter returns the base writer

func (*ColorLogger) Out

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

Out implements logger.Logger.Out.

func (*ColorLogger) OutWriter added in v0.3.0

func (c *ColorLogger) OutWriter() io.Writer

OutWriter returns the base writer

type ColorLoggerFactory

type ColorLoggerFactory struct {
	// contains filtered or unexported fields

ColorLoggerFactory implements logger.Factory interface using ColorLogger.

func NewColorLoggerFactory

func NewColorLoggerFactory() *ColorLoggerFactory

NewColorLoggerFactory creates a new ColorLoggerFactory.

func (*ColorLoggerFactory) CreateBuildLogger added in v0.3.0

func (c *ColorLoggerFactory) CreateBuildLogger(name string) logger.Logger

CreateBuildLogger implements logger.Factory.CreateBuildLogger.

func (*ColorLoggerFactory) CreateContainerLogger added in v0.3.0

func (c *ColorLoggerFactory) CreateContainerLogger(name string) logger.Logger

CreateContainerLogger implements logger.Factory.CreateContainerLogger.

func (*ColorLoggerFactory) CreatePullLogger added in v0.3.0

func (c *ColorLoggerFactory) CreatePullLogger(name string) logger.Logger

CreatePullLogger implements logger.Factory.CreatePullLogger.

Jump to

Keyboard shortcuts

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