logutils

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Logging configuration variables.
	LOG_LEVEL_ENV_VAR = "LOG_LEVEL"

	// Constants for LOG field names & values.
	COMP             = "comp"
	SAAS_PERSISTENCE = "persistence"
)

Variables

View Source
var TRACE = func(format string, v ...any) {
}

Functions

func GetCompLogger

func GetCompLogger() *logrus.Entry

func GetGormLogger

func GetGormLogger(l *logrus.Entry) logger.Interface

func GetLogLevel

func GetLogLevel() string

func GetLogger

func GetLogger() *logrus.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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