logger

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 3 Imported by: 0

README

logger

Private sentry and logrus logger

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Debug bool
	*sync.RWMutex
}

func (*Logger) Error

func (logger *Logger) Error(err error)

func (*Logger) GetDebug

func (logger *Logger) GetDebug() bool

func (*Logger) Log

func (logger *Logger) Log(err error)

func (*Logger) Print

func (logger *Logger) Print(msg string)

func (*Logger) SetDebug

func (logger *Logger) SetDebug(debug bool)

Jump to

Keyboard shortcuts

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