log

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(...interface{})
	Infof(string, ...interface{})
	Debug(...interface{})
	Debugf(string, ...interface{})
	Warn(...interface{})
	Warnf(string, ...interface{})
	Error(...interface{})
	Errorf(string, ...interface{})
	Stopwatch(string) func()
	Stopwatchf(string, ...interface{}) func()
}

func NonNullLogger

func NonNullLogger(logger Logger) Logger

type LoggerFactory

type LoggerFactory interface {
	GetLogger(component string) Logger
}

func NewLoggerFactory

func NewLoggerFactory(sentryDSN, ver string) (LoggerFactory, error)

type SentryWrapper

type SentryWrapper interface {
	CaptureException(error)
}

Jump to

Keyboard shortcuts

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