log

package
v0.0.0-...-a97d171 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Binaries
	LogNameAPI       = "api"
	LogNameBackend   = "backend"
	LogNameChatbot   = "chatbot"
	LogNameConsumers = "consumers"
	LogNameCrons     = "crons"
	LogNameSteam     = "steam"
	LogNameFrontend  = "frontend"
	LogNameDown      = "down"
	LogNameTest      = "test"
	LogNameScaler    = "scaler"
	LogNameDevenv    = "devenv"

	// Webhooks
	LogNameTwitter  = "twitter" // Zapier
	LogNameSendGrid = "sendgrid"
	LognameGitHub   = "github"

	// Others
	LogNameMongo         = "mongo"
	LogNameRabbit        = "rabbit"
	LogNameRequests      = "requests"
	LogNameSQL           = "sql"
	LogNameTriggerUpdate = "trigger"
	LogNameSteamErrors   = "steam-lib"
	LogNameInflux        = "influx"
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, fields ...zap.Field)

func DebugS

func DebugS(args ...interface{})

func Err

func Err(msg string, fields ...zap.Field)

func ErrS

func ErrS(args ...interface{})

func Fatal

func Fatal(msg string, fields ...zap.Field)

The logger then calls os.Exit(1)

func FatalS

func FatalS(args ...interface{})

func Flush

func Flush()

func Info

func Info(msg string, fields ...zap.Field)

func InfoS

func InfoS(args ...interface{})

func InitZap

func InitZap(logName string)

func Warn

func Warn(msg string, fields ...zap.Field)

func WarnS

func WarnS(args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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