logging

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: GPL-3.0 Imports: 4 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 {
	sync.Mutex
	L *logrus.Logger
}

func NewLogBackend

func NewLogBackend(
	logger *logrus.Logger) (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