SAP ABAP Class CL_TREX_LOGGER (Logger)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷ STREX (Package) TREX ABAP client
⤷ BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷ STREX (Package) TREX ABAP client
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_TREX_LOGGER | Logging Interface | 20060525 |
Properties
Class | CL_TREX_LOGGER | |
Short Description | Logger | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | STREX | TREX ABAP client |
Created | 20050729 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | IF_TREX_LOGGER | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_TREX_LOGGER | Logging Interface | 20060525 |
Friends
Class CL_TREX_LOGGER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | DEFAULT | Static Attribute | Private | Object reference (TYPE REF TO) | IF_TREX_LOGGER | Logging Interface | 20070810 | ||
2 | INSTANCES | Static Attribute | Private | Type reference (TYPE) | T_NAMED_INSTANCES | 20070810 | |||
3 | LOG_MESSAGE_FROM_LOG_STRING | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 'X' LOG_MESSAGE is called from LOG_STRING. | 20071017 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20060525 |
2 | GET_INSTANCE | Static method | Public | Method | 20060525 | |
3 | LOG_EXCEPTION | Static method | Public | Method | 20060522 | |
4 | LOG_ITAB | Static method | Public | Method | 20070810 | |
5 | LOG_MESSAGE | Static method | Public | Method | 20060522 | |
6 | LOG_SQL_EXCEPTION | Static method | Public | Method | 20110118 | |
7 | LOG_STRING | Static method | Public | Method | Log text based data. | 20070814 |
8 | LOG_STRING_AS_INFO | Static method | Public | Method | Message type is always INFO. | 20100311 |
9 | LOG_STRING_INTO_SYSLOG | Static method | Private | Method | 20070928 | |
10 | LOG_TREX_RETURN_CODE | Static method | Public | Method | 20081204 | |
11 | LOG_VALUE | Static method | Public | Method | 20070810 | |
12 | SET_DEFAULT | Static method | Public | Method | 20070810 |
Events
Class CL_TREX_LOGGER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_NAMED_INSTANCE | Private | See coding | 20070810 | begin of t_named_instance ,
name type balobj_d ,
subname type balsubobj ,
instance type ref to if_trex_logger ,
end of t_named_instance
|
||
2 | T_NAMED_INSTANCES | Private | See coding | 20070810 | T_named_INSTANCES type hashed table of t_named_instance with unique key name subname
|
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20070810 | ||
2 | Importing | SUBNAME | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20070810 |
Method CONSTRUCTOR on class CL_TREX_LOGGER has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20070810 | ||
2 | Returning | RVAL | Value transfer | Object reference (TYPE REF TO) | IF_TREX_LOGGER | Protokollschnittstelle | 20060525 | ||
3 | Importing | SUBNAME | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20070810 |
Method GET_INSTANCE on class CL_TREX_LOGGER has no exception.
Method LOG_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20060522 | ||
2 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060522 |
Method LOG_EXCEPTION on class CL_TREX_LOGGER has no exception.
Method LOG_ITAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ITAB | Call by reference | Type reference (TYPE) | ANY TABLE | 20070810 | |||
2 | Importing | NAME | Call by reference | Type reference (TYPE) | STRING | 20070810 | |||
3 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20070810 |
Method LOG_ITAB on class CL_TREX_LOGGER has no exception.
Method LOG_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | CLASS | Call by reference | Type reference (TYPE) | SYMSGID | 'STREX' | Message Class | 20060522 | |
2 | Importing | NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20060522 | ||
3 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060522 | ||
4 | Importing | V1 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
5 | Importing | V2 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
6 | Importing | V3 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
7 | Importing | V4 | Call by reference | Type reference (TYPE) | DATA | 20060522 |
Method LOG_MESSAGE on class CL_TREX_LOGGER has no exception.
Method LOG_SQL_EXCEPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | SQL_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_TREX_SQL_EXCEPTION | TREX SQL exception | 20110118 | ||
2 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20110118 |
Method LOG_SQL_EXCEPTION on class CL_TREX_LOGGER has no exception.
Method LOG_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20070814 | |||
2 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20070814 |
Method LOG_STRING on class CL_TREX_LOGGER has no exception.
Method LOG_STRING_AS_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20100311 |
Method LOG_STRING_AS_INFO on class CL_TREX_LOGGER has no exception.
Method LOG_STRING_INTO_SYSLOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | MSG_SUBID | Call by reference | Type reference (TYPE) | RSLGSUBID | IF_TREX_LOGGER=>C_SYSLOG_MSG_SUBID_ERR | System log: Third character of message name | 20100311 | |
2 | Importing | TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20070928 |
Method LOG_STRING_INTO_SYSLOG on class CL_TREX_LOGGER has no exception.
Method LOG_TREX_RETURN_CODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FUNCTION_NAME | Call by reference | Type reference (TYPE) | STRING | 20081204 | |||
2 | Importing | RETURN_CODE | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_CODE | Return Code | 20081204 | ||
3 | Importing | RETURN_TEXT | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | Return Text | 20081204 | ||
4 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20081204 |
Method LOG_TREX_RETURN_CODE on class CL_TREX_LOGGER has no exception.
Method LOG_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NAME | Call by reference | Type reference (TYPE) | DATA | 20070810 | |||
2 | Importing | TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20070810 | ||
3 | Importing | VALUE | Call by reference | Type reference (TYPE) | DATA | 20070810 |
Method LOG_VALUE on class CL_TREX_LOGGER has no exception.
Method SET_DEFAULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | 'TREX' | Application log: Object name (Application code) | 20070810 | |
2 | Importing | SUBNAME | Call by reference | Type reference (TYPE) | BALSUBOBJ | 'NONE' | Application Log: Subobject | 20070810 |
Method SET_DEFAULT on class CL_TREX_LOGGER has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |