logging

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(fl *model.Flags, location *time.Location)

Configure configures logger

Types

type LogrusFormatter added in v1.2.0

type LogrusFormatter struct{}

LogrusFormatter is a logrus formatter

func (*LogrusFormatter) Format added in v1.2.0

func (f *LogrusFormatter) Format(entry *logrus.Entry) ([]byte, error)

Format renders a single log entry from logrus entry to zerolog

Jump to

Keyboard shortcuts

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