writer

package
v0.0.0-...-79153e9 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(o Options) slf.Receiver

New builds new writer receiver with 256 ANSI colors support

Types

type Options

type Options struct {
	Target     io.Writer // Output target, nil for os.Stdout
	NoColor    bool      // Disable color output
	Async      bool      // Async output
	Marker     bool      // Output log marker
	TimeFormat string    // Time output format, default is "02 15:04:05.000000"
}

Options contains configuration for writer receiver

Jump to

Keyboard shortcuts

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