logger

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultLogger

func NewDefaultLogger(filename string) *logrus.Logger

func NewSyslogLogger

func NewSyslogLogger() *logrus.Logger

Types

type MgoLogger

type MgoLogger struct{}

MgoLogger matches the mgo.logLogger interface https://github.com/globalsign/mgo/blob/master/log.go#L40

func (*MgoLogger) Output

func (ml *MgoLogger) Output(calldepth int, s string) error

Output logs an Mgo debug message using logrus

Jump to

Keyboard shortcuts

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