logging

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogWriter

func GetLogWriter(cfg *config.Configuration) (io.WriteCloser, error)

GetLogWriter returns a logwriter which is used for debug logs

func NewLoggingWriter added in v0.5.1

func NewLoggingWriter(targetWriter io.Writer, logger *logrus.Logger, logginPrefix string) io.Writer

NewLoggingWriter returns a new writer that also logs the output it writes

Types

This section is empty.

Jump to

Keyboard shortcuts

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