logger

package
Version: v0.0.0-...-9585e36 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootLogger zerolog.Logger

RootLogger --

Functions

func Log

func Log(level zerolog.Level, format string, args ...interface{})

Log --

func New

func New(name string) zerolog.Logger

New --

Types

type LogConfiguration

type LogConfiguration struct {
	Loggers map[string]Logger
}

LogConfiguration --

var Configuration LogConfiguration

Configuration --

type Logger

type Logger struct {
	Level  string `yaml:"level"`
	Writer string `yaml:"writer"`
}

Logger --

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL