logger

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldRanAddr     string = "ran_addr"
	FieldRanId       string = "ran_id"
	FieldAmfUeNgapID string = "amf_ue_ngap_id"
	FieldSupi        string = "supi"
	FieldSuci        string = "suci"
)

Variables

View Source
var (
	EllaLog    *zap.SugaredLogger
	AuditLog   *zap.SugaredLogger
	UtilLog    *zap.SugaredLogger
	MetricsLog *zap.SugaredLogger
	DBLog      *zap.SugaredLogger
	AmfLog     *zap.SugaredLogger
	AusfLog    *zap.SugaredLogger
	NmsLog     *zap.SugaredLogger
	NssfLog    *zap.SugaredLogger
	PcfLog     *zap.SugaredLogger
	SmfLog     *zap.SugaredLogger
	UdmLog     *zap.SugaredLogger
	UdrLog     *zap.SugaredLogger
	UpfLog     *zap.SugaredLogger
)

Functions

func CapitalColorLevelEncoder

func CapitalColorLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)

func LogAuditEvent

func LogAuditEvent(action string, actor string, details string)

func SetLogLevel

func SetLogLevel(level zapcore.Level)

SetLogLevel: set the log level (panic|fatal|error|warn|info|debug)

Types

This section is empty.

Jump to

Keyboard shortcuts

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