libcompose: github.com/xozrc/libcompose/cli/logger Index | Files

package logger

import "github.com/xozrc/libcompose/cli/logger"

Index

Package Files

color_logger.go colors.go

type ColorLogger Uses

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

ColorLogger implements logger.Logger interface with color support.

func (*ColorLogger) Err Uses

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

Err implements logger.Logger.Err.

func (*ColorLogger) Out Uses

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

Out implements logger.Logger.Out.

type ColorLoggerFactory Uses

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

ColorLoggerFactory implements logger.Factory interface using ColorLogger.

func NewColorLoggerFactory Uses

func NewColorLoggerFactory() *ColorLoggerFactory

NewColorLoggerFactory creates a new ColorLoggerFactory.

func (*ColorLoggerFactory) Create Uses

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

Create implements logger.Factory.Create.

Package logger imports 5 packages (graph). Updated 2018-04-27. Refresh now. Tools for package owners.