internal

package
v0.0.0-...-cbcb865 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logrus.New()

Logger can be modified by external for testing

Functions

func FlushError

func FlushError()

FlushError flushs error to sentry

func HandleError

func HandleError(err error)

HandleError sends error to sentry if sentry configuration is available

func SetupLogger

func SetupLogger(level string)

SetupLogger changes internal.Logger log level (both of upper/lower case are acceptable). Choose [TRACE|DEBUG|INFO|WARN|ERROR].

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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