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

⤷

⤷

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 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
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 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | IF_TREX_LOGGER | Logging Interface | 20070810 | ||
2 | ![]() |
Static Attribute | Private | Type reference (TYPE) | T_NAMED_INSTANCES | 20070810 | |||
3 | ![]() |
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 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20060525 |
2 | ![]() |
Static method | Public | Method | 20060525 | |
3 | ![]() |
Static method | Public | Method | 20060522 | |
4 | ![]() |
Static method | Public | Method | 20070810 | |
5 | ![]() |
Static method | Public | Method | 20060522 | |
6 | ![]() |
Static method | Public | Method | 20110118 | |
7 | ![]() |
Static method | Public | Method | Log text based data. | 20070814 |
8 | ![]() |
Static method | Public | Method | Message type is always INFO. | 20100311 |
9 | ![]() |
Static method | Private | Method | 20070928 | |
10 | ![]() |
Static method | Public | Method | 20081204 | |
11 | ![]() |
Static method | Public | Method | 20070810 | |
12 | ![]() |
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 | ![]() |
NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20070810 | ||
2 | ![]() |
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 | ![]() |
NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | Application log: Object name (Application code) | 20070810 | ||
2 | ![]() |
RVAL | Value transfer | Object reference (TYPE REF TO) | IF_TREX_LOGGER | Protokollschnittstelle | 20060525 | ||
3 | ![]() |
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 | ![]() |
EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20060522 | ||
2 | ![]() |
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 | ![]() |
ITAB | Call by reference | Type reference (TYPE) | ANY TABLE | 20070810 | |||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20070810 | |||
3 | ![]() |
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 | ![]() |
CLASS | Call by reference | Type reference (TYPE) | SYMSGID | 'STREX' | Message Class | 20060522 | |
2 | ![]() |
NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20060522 | ||
3 | ![]() |
TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20060522 | ||
4 | ![]() |
V1 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
5 | ![]() |
V2 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
6 | ![]() |
V3 | Call by reference | Type reference (TYPE) | DATA | 20060522 | |||
7 | ![]() |
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 | ![]() |
SQL_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_TREX_SQL_EXCEPTION | TREX SQL exception | 20110118 | ||
2 | ![]() |
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 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20070814 | |||
2 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
FUNCTION_NAME | Call by reference | Type reference (TYPE) | STRING | 20081204 | |||
2 | ![]() |
RETURN_CODE | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_CODE | Return Code | 20081204 | ||
3 | ![]() |
RETURN_TEXT | Call by reference | Type reference (TYPE) | TREX_RFC-RETURN_TEXT | Return Text | 20081204 | ||
4 | ![]() |
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 | ![]() |
NAME | Call by reference | Type reference (TYPE) | DATA | 20070810 | |||
2 | ![]() |
TYPE | Call by reference | Type reference (TYPE) | SYMSGTY | Message Type | 20070810 | ||
3 | ![]() |
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 | ![]() |
NAME | Call by reference | Type reference (TYPE) | BALOBJ_D | 'TREX' | Application log: Object name (Application code) | 20070810 | |
2 | ![]() |
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 |