SAP ABAP Class CL_SWF_LOG_FACTORY (Log Factory)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-BMT-WFM (Application Component) SAP Business Workflow
     SWF_LOG (Package) Workflow: Log Manager
Properties
Class CL_SWF_LOG_FACTORY  
Short Description Log Factory    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SWF_LOG   Workflow: Log Manager 
Created 20000426   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SWF_LOG_FACTORY has no forward declaration.
Interfaces
Class CL_SWF_LOG_FACTORY has no interface implemented.
Friends
Class CL_SWF_LOG_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_LEVEL_ABORT_ERROR Constant Public Type reference (TYPE) SWF_LOGLEV 8 Log Level: Cancel Error 20000523
2 MC_LEVEL_ERROR Constant Public Type reference (TYPE) SWF_LOGLEV 7 Log Level: Error 20000523
3 MC_LEVEL_INFORMATION Constant Public Type reference (TYPE) SWF_LOGLEV 3 Log Level: Information 20000523
4 MC_LEVEL_MAX Constant Public Type reference (TYPE) SWF_LOGLEV 9 Log Level: Maximum 20000526
5 MC_LEVEL_MIN Constant Public Type reference (TYPE) SWF_LOGLEV 0 Log Level: Minimum 20000526
6 MC_LEVEL_SUCCESS Constant Public Type reference (TYPE) SWF_LOGLEV 2 Log Level: Success 20000523
7 MC_LEVEL_TEMP_ERROR Constant Public Type reference (TYPE) SWF_LOGLEV 6 Log Level: Temporary Error 20000523
8 MC_LEVEL_WARNING Constant Public Type reference (TYPE) SWF_LOGLEV 4 Log Level: Warning 20000523
9 MC_LOGTYPE_NO_PROFILE Constant Public Type reference (TYPE) SWFDLOGPRO-PROFILE SPACE Name of Log Profile 20000503
10 MT_INVALID_PROFILES Static Attribute Protected See coding Invalid Log Profile 20000428
11 MT_LOGENTRIES Static Attribute Protected See coding Instance Management of Generated Log Entries 20000503
12 MT_PERSISTENCE_REF Static Attribute Protected See coding Table of Persistence References 20000530
13 MT_VALID_PROFILES Static Attribute Protected See coding Valid Log Profile 20000428
14 M_EXTERNAL_CONTEXT_OBJ Static Attribute Protected Object reference (TYPE REF TO) OBJECT External Context 20000524
15 M_MANAGER_SINGLETON Static Attribute Protected Object reference (TYPE REF TO) IF_SWF_LOG_MANAGER Log Manager 20000530
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_LOG_PROFILE Static method Public Method Generates and Gets a New Log Profile 20000510
2 GET_CONTEXT_OBJECT Static method Public Method Gets External Context 20000524
3 GET_LOG_DEFAULT_PROFILE Static method Public Method Gets Standard Log Profile for Log Type 20000705
4 GET_LOG_ENTRIES_BY_EXCEPTION Static method Public Method Gets Log Entries After Exception 20000426
5 GET_LOG_ENTRY Static method Public Method Gets Log Entry 20000426
6 GET_LOG_MANAGER Static method Public Method Gets Log Manager (SINGLETON) 20000530
7 GET_LOG_PROFILE Static method Public Method Gets Log Profile 20000502
8 GET_PERSISTENCE_OBJECT Static method Private Method Gets a Reference to Persistence Class 20000531
9 IS_ENTRY_REQUIRED Static method Public Method Checks Whether Log Entry Required 20000523
10 SET_CONTEXT_OBJECT Static method Public Method Sets External Context 20000524
Events
Class CL_SWF_LOG_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_LOGENTRY Protected See coding T_LOGENTRY 20000503
2 T_PERSISTENCE_REF Protected See coding T_PERSISTENCE_REF 20000530
3 T_PROFILE Protected See coding T_PROFILE 20000428
Method Signatures

Method CREATE_LOG_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PROFILE Call by reference Object reference (TYPE REF TO) IF_SWF_LOG_PROFILE Log-Profil 20000510
2 Importing IM_LOGPROFILE Call by reference Type reference (TYPE) SWF_LOGPRO Name eines Logprofils 20000510
3 Importing IM_LOGTYP Call by reference Type reference (TYPE) SWF_LOGTYP Logtyp zur Definition von Logprofilen 20000510
# Exception Resumable Description Created on
1 CX_SWF_LOG_PROFILE_EXISTS Log-Profil bereits vorhanden 20000525

Method GET_CONTEXT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_CONTEXT Value transfer Object reference (TYPE REF TO) OBJECT Kontext 20000524

Method GET_CONTEXT_OBJECT on class CL_SWF_LOG_FACTORY has no exception.

Method GET_LOG_DEFAULT_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PROFILE Call by reference Object reference (TYPE REF TO) IF_SWF_LOG_PROFILE Log-Profil 20000705
2 Importing IM_LOGTYP Call by reference Type reference (TYPE) SWF_LOGTYP Logtyp zur Definition von Logprofilen 20000705
# Exception Resumable Description Created on
1 CX_SWF_LOG_PROFILE_NOT_FOUND Log-Profil nicht gefunden 20000705

Method GET_LOG_ENTRIES_BY_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_LOGENTRIES Call by reference Type reference (TYPE) SWF_LOGENTRIES Tabelle mit Referenzen auf IF_SWF_LOG_ENTRY 20000526
2 Importing IM_COMPONENT Call by reference Type reference (TYPE) SWF_LOGCMP Komponente eines Logtyps 20000526
3 Importing IM_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstrakte Oberklasse aller globalen Exceptions 20000526
4 Importing IM_LOGLEVEL Call by reference Type reference (TYPE) SWF_LOGLEV MC_LEVEL_MAX Loglevel 20000526
5 Importing IM_LOGPROFILE Call by reference Type reference (TYPE) SWF_LOGPRO Name eines Logprofils 20000526
6 Importing IM_PERSISTENCE_CLASS Call by reference Type reference (TYPE) SEOCLSNAME Klasse für die Persistenz-Referenz 20000530
# Exception Resumable Description Created on
1 CX_SWF_LOG_ENTRY_NOT_REQUIRED Log-Eintrag wird nicht benötigt 20000602
2 CX_SWF_LOG_PROFILE_NOT_FOUND Log-Profil nicht gefunden 20000602
3 CX_SWF_UTL_OBJ_CREATE_FAILED Ausnahme beim Anlegen eines Objekts 20000531

Method GET_LOG_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_LOGENTRY Call by reference Object reference (TYPE REF TO) IF_SWF_LOG_ENTRY Log-Eintrag 20000428
2 Importing IM_COMPONENT Call by reference Type reference (TYPE) SWF_LOGCMP Komponente eines Logtyps 20000502
3 Importing IM_LOGGUID Call by reference Type reference (TYPE) SWF_LOGKEY-LOGGUID GUID im 'CHAR' Format in Großschreibung 20000428
4 Importing IM_LOGLEVEL Call by reference Type reference (TYPE) SWF_LOGLEV MC_LEVEL_MAX Loglevel 20000523
5 Importing IM_LOGPROFILE Call by reference Type reference (TYPE) SWF_LOGPRO Name eines Logprofils 20000428
6 Importing IM_PERSISTENCE_CLASS Call by reference Type reference (TYPE) SEOCLSNAME Klassenname der Persistenz-Klasse 20000530
# Exception Resumable Description Created on
1 CX_SWF_LOG_ENTRY_NOT_REQUIRED Log-Eintrag wird nicht benötigt 20000602
2 CX_SWF_LOG_PROFILE_NOT_FOUND Log-Profil nicht gefunden 20000531
3 CX_SWF_UTL_OBJ_CREATE_FAILED Ausnahme beim Anlegen eines Objekts 20000531

Method GET_LOG_MANAGER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_LOG_MANAGER Value transfer Object reference (TYPE REF TO) IF_SWF_LOG_MANAGER Log-Manager 20000602

Method GET_LOG_MANAGER on class CL_SWF_LOG_FACTORY has no exception.

Method GET_LOG_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PROFILE Call by reference Object reference (TYPE REF TO) IF_SWF_LOG_PROFILE Log-Profil 20000502
2 Importing IM_LOGPROFILE Call by reference Type reference (TYPE) SWF_LOGPRO Name eines Logprofils 20000502
3 Importing IM_LOGTYP Call by reference Type reference (TYPE) SWF_LOGTYP Logtyp zur Definition von Logprofilen 20000502
# Exception Resumable Description Created on
1 CX_SWF_LOG_PROFILE_NOT_FOUND Log-Profil nicht gefunden 20000525

Method GET_PERSISTENCE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PERSISTENCE_CLASS Call by reference Type reference (TYPE) SEOCLSNAME Objekttypname 20000531
2 Returning RE_INSTANCE Value transfer Object reference (TYPE REF TO) IF_SWF_LOG_PERSISTENCE Persistenz des Log 20000531
# Exception Resumable Description Created on
1 CX_SWF_UTL_OBJ_CREATE_FAILED Ausnahme beim Anlegen eines Objekts 20000531

Method IS_ENTRY_REQUIRED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_COMPONENT Call by reference Type reference (TYPE) SWF_LOGCMP Komponente eines Logtyps 20000523
2 Importing IM_LOGLEVEL Call by reference Type reference (TYPE) SWF_LOGLEV Loglevel 20000523
3 Importing IM_LOGPROFILE Call by reference Type reference (TYPE) SWF_LOGPRO Name eines Logprofils 20000523
4 Importing IM_PERSISTENCE_CLASS Call by reference Type reference (TYPE) SEOCLSNAME Klassenname für Persistenz der Einträge 20000531
5 Returning RE_REQUIRED Value transfer Type reference (TYPE) XFELD Eintrag gefordert = 'X' 20000523
# Exception Resumable Description Created on
1 CX_SWF_LOG_PROFILE_NOT_FOUND Log-Profil nicht gefunden 20000525
2 CX_SWF_UTL_OBJ_CREATE_FAILED Ausnahme beim Anlegen eines Objekts 20000531

Method SET_CONTEXT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONTEXT Call by reference Object reference (TYPE REF TO) OBJECT Kontext 20000524

Method SET_CONTEXT_OBJECT on class CL_SWF_LOG_FACTORY has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 50A