logging

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(log1 *LogBackend)

func NewLogrus

func NewLogrus() *logrus.Logger

Types

type LogBackend

type LogBackend struct {
	L *logrus.Logger
	// contains filtered or unexported fields
}

func NewLogBackend

func NewLogBackend(
	logger *logrus.Logger,
	adaptors *adaptors.Adaptors) (back *LogBackend)

func (*LogBackend) Log

func (b *LogBackend) Log(level logging.Level, calldepth int, rec *logging.Record) (err error)

Jump to

Keyboard shortcuts

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