X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Fpkg%2Fe2ap_wrapper%2Fpacker_e2ap.go;h=73d121f78b717758cef8c16abf8ab43cf082a6c0;hb=refs%2Fchanges%2F49%2F7349%2F1;hp=dafac429c6503bddad0dc38821302531030fd817;hpb=cdc35bff0dd4c41d1e764d3f48efa70d9f33a8f7;p=ric-plt%2Fsubmgr.git diff --git a/e2ap/pkg/e2ap_wrapper/packer_e2ap.go b/e2ap/pkg/e2ap_wrapper/packer_e2ap.go index dafac42..73d121f 100644 --- a/e2ap/pkg/e2ap_wrapper/packer_e2ap.go +++ b/e2ap/pkg/e2ap_wrapper/packer_e2ap.go @@ -1115,6 +1115,19 @@ func (e2apMsg *e2apMsgPackerSubscriptionDeleteFailure) String() string { return b.String() } +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +func SetASN1DebugPrintStatus(logLevel int) { + if logLevel >= 4 { + //fmt.Println("ASN1 debug prints ON") + C.allowASN1DebugPrints(true) + } else { + //fmt.Println("ASN1 debug prints OFF") + C.allowASN1DebugPrints(false) + } +} + //----------------------------------------------------------------------------- // Public E2AP packer creators //-----------------------------------------------------------------------------