SAP ABAP Class /SLOAP/CL_LOGGER (Logging tool for all abap applicatons)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/UTILITY (Package) Utility Sources for SLO Analytic Platform
⤷ CA-EUR (Application Component) European Monetary Union: Euro
⤷ /SLOAP/UTILITY (Package) Utility Sources for SLO Analytic Platform
Properties
Class | /SLOAP/CL_LOGGER | |
Short Description | Logging tool for all abap applicatons | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /SLOAP/UTILITY | Utility Sources for SLO Analytic Platform |
Created | 20100127 | SAP |
Last change | 20141030 | |
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) |
Interfaces
Class /SLOAP/CL_LOGGER has no interface implemented.
Friends
Class /SLOAP/CL_LOGGER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CO_ERROR | Constant | Public | Type reference (TYPE) | /SLOAP/LOG_CAT | 'ERROR' | logger categories für sloas logging | 20100127 | |
2 | CO_INFO | Constant | Public | Type reference (TYPE) | /SLOAP/LOG_CAT | 'INFO' | logger categories für sloas logging | 20100127 | |
3 | CO_WARN | Constant | Public | Type reference (TYPE) | /SLOAP/LOG_CAT | 'WARN' | logger categories für sloas logging | 20100127 | |
4 | GO_LOGGER | Static Attribute | Private | Object reference (TYPE REF TO) | /SLOAP/CL_LOGGER | Logging tool for all abap appl | 20100127 | ||
5 | GT_LOG | Instance attribute | Private | Type reference (TYPE) | /SLOAP/T_LOG_CONT | content table from logging | 20100127 | ||
6 | GT_LOG_METAINFO | Instance attribute | Private | Type reference (TYPE) | /SLOAP/T_LOG_META | metainfo for sloas log content table | 20100127 | ||
7 | GV_LOGGING | Instance attribute | Private | Type reference (TYPE) | SAP_BOOL | Boolean Variable (X=True, Space=False) | 20100127 | ||
8 | GV_LOG_CAT | Instance attribute | Private | Type reference (TYPE) | /SLOAP/LOG_CAT | Filter categories für sloas logging | 20100127 | ||
9 | GV_LOG_GUID | Instance attribute | Private | Type reference (TYPE) | GUID | Globally Unique Identifier | 20100127 | ||
10 | GV_LOG_TXT_FILTER | Instance attribute | Private | Type reference (TYPE) | STRING | TXT FILTER | 20100127 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_OBJ_MSG | Instance method | Public | Method | add an msg obj to logger with interface IF_MESSAGE | 20100127 |
2 | ADD_TXT_MSG | Instance method | Public | Method | add a text message to logger | 20100127 |
3 | CLEAR_FILTERS | Instance method | Public | Method | clear all filters | 20100127 |
4 | CLEAR_LOG | Instance method | Public | Method | clear the internal log table | 20100127 |
5 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20100127 |
6 | DELETE_ALL | Static method | Public | Method | DELETE HOLE LOG DB TABLES AND INFORMATION !!!!! ATTENTION | 20100127 |
7 | DELETE_LOG | Static method | Public | Method | Deletes DB log information in log_content as in log_metainfo | 20100127 |
8 | GET_CALLSTACK | Instance method | Private | Method | set the info from abap-callstack | 20100127 |
9 | GET_FILTERED_GT_LOG | Instance method | Public | Method | returns gt_log with filtered messages | 20100127 |
10 | GET_FILTER_INFO | Instance method | Private | Method | get filter settings info for printing | 20100127 |
11 | GET_GT_LOG | Instance method | Public | Method | get gt_log content table | 20100127 |
12 | GET_GT_META | Instance method | Public | Method | get gt_meta info table | 20100127 |
13 | GET_LOGGER | Static method | Public | Method | get this logger static | 20100127 |
14 | PRINT_LOG | Instance method | Public | Method | print this log to a given outputstream | 20100127 |
15 | PRINT_LOG_TO_FILE | Instance method | Private | Method | Download the current log content | 20100127 |
16 | PRINT_LOG_TO_STDOUT | Instance method | Private | Method | print log to stdout with 'write' | 20100127 |
17 | REGISTER_OBSERVER | Static method | Public | Method | 20100127 | |
18 | REMOVE_OBSERVER | Static method | Public | Method | 20100127 | |
19 | SET_LOG_FILTER | Instance method | Public | Method | set categorie to log for.errors are automatically | 20100127 |
20 | SET_META_DATA | Instance method | Private | Method | set a guid to the logger object for saving | 20100127 |
21 | START_LOGGING | Instance method | Public | Method | EXPLICIT ACTIVATE LOGGING MACHNISM | 20100127 |
22 | STOP_LOGGING | Instance method | Public | Method | EXPLICIT STOP LOGGING MECHANISM | 20100127 |
23 | WRITE_LOG_TO_DB | Instance method | Public | Method | write the internal log-table to database table and clear log | 20100127 |
Events
Class /SLOAP/CL_LOGGER has no event.
Types
Class /SLOAP/CL_LOGGER has no local type.
Method Signatures
Method ADD_OBJ_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_MSG | Call by reference | Object reference (TYPE REF TO) | IF_MESSAGE | Abstract Superclass for All Global Exceptions | 20100127 | ||
2 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | /SLOAP/LOG_CAT | logger categories für sloas logging | 20100127 |
Method ADD_OBJ_MSG on class /SLOAP/CL_LOGGER has no exception.
Method ADD_TXT_MSG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | /SLOAP/LOG_CAT | importing categorie | 20100127 | ||
2 | Importing | IV_MSG | Call by reference | Type reference (TYPE) | /SLOAP/LOG_MSG | importing txt msg | 20100127 |
Method ADD_TXT_MSG on class /SLOAP/CL_LOGGER has no exception.
Method CLEAR_FILTERS Signature
Method CLEAR_FILTERS on class /SLOAP/CL_LOGGER has no parameter.
Method CLEAR_FILTERS on class /SLOAP/CL_LOGGER has no exception.
Method CLEAR_LOG Signature
Method CLEAR_LOG on class /SLOAP/CL_LOGGER has no parameter.
Method CLEAR_LOG on class /SLOAP/CL_LOGGER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class /SLOAP/CL_LOGGER has no parameter.
Method CONSTRUCTOR on class /SLOAP/CL_LOGGER has no exception.
Method DELETE_ALL Signature
Method DELETE_ALL on class /SLOAP/CL_LOGGER has no parameter.
Method DELETE_ALL on class /SLOAP/CL_LOGGER has no exception.
Method DELETE_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_LOG_META_GUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20100127 |
Method DELETE_LOG on class /SLOAP/CL_LOGGER has no exception.
Method GET_CALLSTACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_CALLSTACK | Value transfer | Type reference (TYPE) | ABAP_CALLSTACK | ABAP Call Stack | 20100127 |
Method GET_CALLSTACK on class /SLOAP/CL_LOGGER has no exception.
Method GET_FILTERED_GT_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_FILTERED_GT_LOG | Value transfer | Type reference (TYPE) | /SLOAP/T_LOG_CONT | logging content for sloas logger | 20100127 |
Method GET_FILTERED_GT_LOG on class /SLOAP/CL_LOGGER has no exception.
Method GET_FILTER_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_FILTERS | Value transfer | Type reference (TYPE) | STRING | filters for logging | 20100127 |
Method GET_FILTER_INFO on class /SLOAP/CL_LOGGER has no exception.
Method GET_GT_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_GT_LOG | Value transfer | Type reference (TYPE) | /SLOAP/T_LOG_CONT | table type /SLOAS/log_CONT | 20100127 |
Method GET_GT_LOG on class /SLOAP/CL_LOGGER has no exception.
Method GET_GT_META Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RT_GT_META | Value transfer | Type reference (TYPE) | /SLOAP/T_LOG_META | log meta infomation table | 20100127 |
Method GET_GT_META on class /SLOAP/CL_LOGGER has no exception.
Method GET_LOGGER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | descripton from this logger object | 20100127 | ||
2 | Returning | RO_LOGGER | Value transfer | Object reference (TYPE REF TO) | /SLOAP/CL_LOGGER | Logging tool for all abap appl | 20100127 |
Method GET_LOGGER on class /SLOAP/CL_LOGGER has no exception.
Method PRINT_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_OPEN_DIALOG | Call by reference | Type reference (TYPE) | SAP_BOOL | ABAP_FALSE | Boolean Variable (X=True, Space=False) | 20100127 | |
2 | Importing | IV_OUTPUT | Call by reference | Type reference (TYPE) | /SLOAP/LOG_PRINT_FILTER | print log to filter like file or stdoutput | 20100127 |
Method PRINT_LOG on class /SLOAP/CL_LOGGER has no exception.
Method PRINT_LOG_TO_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_DIRECT_WRITE | Call by reference | Type reference (TYPE) | SAP_BOOL | Boolean Variable (X=True, Space=False) | 20100127 |
Method PRINT_LOG_TO_FILE on class /SLOAP/CL_LOGGER has no exception.
Method PRINT_LOG_TO_STDOUT Signature
Method PRINT_LOG_TO_STDOUT on class /SLOAP/CL_LOGGER has no parameter.
Method PRINT_LOG_TO_STDOUT on class /SLOAP/CL_LOGGER has no exception.
Method REGISTER_OBSERVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | OBSERVER | Call by reference | Object reference (TYPE REF TO) | /SLOAP/CL_OBSERVER | 20100127 |
Method REGISTER_OBSERVER on class /SLOAP/CL_LOGGER has no exception.
Method REMOVE_OBSERVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | OBSERVER | Call by reference | Object reference (TYPE REF TO) | /SLOAP/CL_OBSERVER | 20100127 |
Method REMOVE_OBSERVER on class /SLOAP/CL_LOGGER has no exception.
Method SET_LOG_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CATEGORY | Call by reference | Type reference (TYPE) | /SLOAP/LOG_CAT | logger categories für sloas logging | 20100127 | ||
2 | Importing | IV_TXT_FILTER | Call by reference | Type reference (TYPE) | STRING | 20100127 |
Method SET_LOG_FILTER on class /SLOAP/CL_LOGGER has no exception.
Method SET_META_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_LOG_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | just a short description for the logger | 20100127 |
Method SET_META_DATA on class /SLOAP/CL_LOGGER has no exception.
Method START_LOGGING Signature
Method START_LOGGING on class /SLOAP/CL_LOGGER has no parameter.
Method START_LOGGING on class /SLOAP/CL_LOGGER has no exception.
Method STOP_LOGGING Signature
Method STOP_LOGGING on class /SLOAP/CL_LOGGER has no parameter.
Method STOP_LOGGING on class /SLOAP/CL_LOGGER has no exception.
Method WRITE_LOG_TO_DB Signature
Method WRITE_LOG_TO_DB on class /SLOAP/CL_LOGGER has no parameter.
Method WRITE_LOG_TO_DB on class /SLOAP/CL_LOGGER has no exception.
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 700 |