logger

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: Apache-2.0 Imports: 5 Imported by: 81

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Out

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

Out implements logger.Logger.Out.

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) Create

func (c *ColorLoggerFactory) 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