logger

package
v0.0.0-...-8635785 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Log level docs
	Level      string
	Formatter  string
	OutputFile string
	Foo
}

Config provides configuration for a logger.

func DefaultConfig

func DefaultConfig() Config

func (Config) Validate

func (c Config) Validate() (errs []error)

type Foo

type Foo struct {
	FooField string
	// Foo level docs
	Level string
}

Jump to

Keyboard shortcuts

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