Documentation
¶
Index ¶
Constants ¶
View Source
const ( FieldRanAddr string = "ran_addr" FieldAmfUeNgapID string = "amf_ue_ngap_id" FieldSupi string = "supi" FieldSuci string = "suci" )
Variables ¶
View Source
var ( EllaLog *zap.SugaredLogger AuditLog *zap.SugaredLogger MetricsLog *zap.SugaredLogger DBLog *zap.SugaredLogger AmfLog *zap.SugaredLogger APILog *zap.SugaredLogger SmfLog *zap.SugaredLogger UpfLog *zap.SugaredLogger )
Functions ¶
func CapitalColorLevelEncoder ¶
func CapitalColorLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
CapitalColorLevelEncoder encodes the log level in color.
func ConfigureLogging ¶ added in v0.0.8
func ConfigureLogging(systemLevel string, systemOutput string, systemFilePath string, auditOutput string, auditFilePath string) error
ConfigureLogging allows the user to reconfigure the logger. The caller specifies the log level and for each logger (system and audit) the output mode ("stdout", "file", or "both") and (if applicable) a file path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.