SAP ABAP Class CL_NWECM_LOG_UTILITIES (ECMI: Utilities for Logging and Tracing)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ECM-ABA-COR (Application Component) ECM Core Infrastructure
⤷
S_NWECM_CORE (Package) ECMI: Runtime Implementation
⤷
⤷
Properties
| Class | CL_NWECM_LOG_UTILITIES | |
| Short Description | ECMI: Utilities for Logging and Tracing | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_NWECM_CORE | ECMI: Runtime Implementation |
| Created | 20090115 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_NWECM_LOG_UTILITIES has no interface implemented.
Friends
Class CL_NWECM_LOG_UTILITIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CX_ROOT | Last tracked exception | 20090115 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | I | Running number for logpoint subkey | 20090120 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | STRING | Prefix for logpoint subkey | 20090120 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090120 | |
| 2 | Static method | Public | Method | Returns new subkey for logpoint | 20090120 | |
| 3 | Static method | Public | Method | Formats an exception for logpoint output | 20090115 | |
| 4 | Static method | Public | Method | Returns 'X' if exception was tracked and resets tracking | 20090115 | |
| 5 | Static method | Public | Method | Tracks a logged or traced exception for unit testing | 20090115 |
Events
Class CL_NWECM_LOG_UTILITIES has no event.
Types
Class CL_NWECM_LOG_UTILITIES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_NWECM_LOG_UTILITIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_NWECM_LOG_UTILITIES has no exception.
Method CREATE_LOGPOINT_SUBKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPONENT_NAME | Call by reference | Type reference (TYPE) | STRING | Name of logging component | 20090120 | |||
| 2 | RV_SUBKEY | Value transfer | Type reference (TYPE) | STRING | New subkey for logpoint | 20090120 |
Method CREATE_LOGPOINT_SUBKEY on class CL_NWECM_LOG_UTILITIES has no exception.
Method FORMAT_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXC | Value transfer | Object reference (TYPE REF TO) | CX_ROOT | Exception to format for logpoint output | 20090115 | |||
| 2 | RV_MSG | Value transfer | Type reference (TYPE) | STRING | Formatted exception | 20090115 |
Method FORMAT_EXCEPTION on class CL_NWECM_LOG_UTILITIES has no exception.
Method IS_TRACKED_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXC | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Exception to be checked | 20090115 | |||
| 2 | RV_IS_TRACKED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' if exception was tracked | 20090115 |
Method IS_TRACKED_EXCEPTION on class CL_NWECM_LOG_UTILITIES has no exception.
Method TRACK_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXC | Value transfer | Object reference (TYPE REF TO) | CX_ROOT | Exception to be tracked | 20090115 |
Method TRACK_EXCEPTION on class CL_NWECM_LOG_UTILITIES has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |