utils

package
v0.0.0-...-f5424c9 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AppLog is a public application-focused logger
	AppLog *zap.Logger
	// ModelLog is a public model-focused logger
	ModelLog *zap.Logger
	// SlackLog is a public Slack channel log poster
	SlackLog *logrus.Logger
)
View Source
var Config configuration

Config is a public variable that allows for package-level settings changes

Functions

func InitializeSlackLog

func InitializeSlackLog() *logrus.Logger

InitializeSlackLog sets a Slack reporter

func IntializeLog

func IntializeLog(logPath string) *zap.Logger

IntializeLog sets a file logger; only called in testing currently

Types

This section is empty.

Jump to

Keyboard shortcuts

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