shared

package
v1.0.1-0...-20e81f0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//VendorPubsub pubsub
	VendorPubsub = "pubsub"
	//VendorSQS sqs
	VendorSQS = "sqs"
)
View Source
const (
	LoggingEnvKey = "LOGGING"
	//LoggingLevelInfo info logging level
	LoggingLevelInfo = "info"
	//LoggingLevelDebug debug logging leve
	LoggingLevelDebug = "debug"
	//LoggingProgressChar progress char
	LoggingProgressChar = "."
	//LoggingProgressLineSize line size
	LoggingProgressLineSize = 40
)

LoggingEnvKey logging key

Variables

This section is empty.

Functions

func IsDebugLoggingLevel

func IsDebugLoggingLevel() bool

IsDebugLoggingLevel returns true if logging enabled

func IsInfoLoggingLevel

func IsInfoLoggingLevel() bool

IsDebugLoggingLevel returns true if logging enabled

func LogF

func LogF(template string, params ...interface{})

LogF logs message template with parameters

func LogLn

func LogLn(message interface{})

LogLn logs message

func LogProgress

func LogProgress()

LogProgress logs progress

Types

This section is empty.

Jump to

Keyboard shortcuts

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