|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.caf.rt.util.CAFPublicLogger
public final class CAFPublicLogger
This class wraps the standard SAP Exception Framework and extends it with CAF specific logging, tracing and application monitoring. Use constructors for entering/exiting for important methods that need logging and monitoring. The monitoring functionality is called inside these methods with required monitoring level
| Field Summary | |
|---|---|
static Category |
categoryCAF
This determines the location to which the log files are written |
static Category |
categoryXAPPS
Deprecated. |
static int |
LEVEL_BASIC
Trace level for messages that should be created always. |
static int |
LEVEL_DETAIL
Trace level for messages that should be created when more detailed analysis needed Corresponds to JARM trace level 2 |
static int |
LEVEL_MEDIUM
Trace level for messages that should be created when single activity trace enabled Corresponds to JARM trace level 1 |
static Location |
LOC_CAF
This determines the location to which the trace files are written and is related to the value in the log-configuration.xml file of CAF |
| Constructor Summary | |
|---|---|
CAFPublicLogger()
|
|
| Method Summary | |
|---|---|
static void |
entering(String user,
String request,
String methodName,
String application)
|
static void |
entering(String user,
String request,
String methodName,
String application,
int traceLevel)
|
static void |
entering(String user,
String request,
String methodName,
String application,
Object[] params)
|
static void |
entering(String user,
String request,
String methodName,
String application,
Object[] params,
int traceLevel)
|
static void |
exiting(String user,
String request,
String methodName,
Location loc,
int traceLevel)
|
static void |
exiting(String user,
String request,
String methodName,
Location loc,
Object res)
|
static void |
exiting(String user,
String request,
String methodName,
Location loc,
Object res,
int traceLevel)
|
static void |
exiting(String user,
String request,
String methodName,
String application)
|
static void |
log(int severity,
Location location,
String method,
String message)
Log the formated message in the passed location populated with the params |
static void |
log(int severity,
Location location,
String method,
String message,
Object[] params)
Log the formated message in the passed location populated with the params |
static void |
logThrowable(int severity,
Category category,
Location location,
String method,
String message,
Throwable throwable)
Deprecated. use constructor of com.sap.tc.logging.Category.logThrowableT |
static void |
logThrowable(int severity,
Category category,
Location location,
String method,
Throwable throwable)
Deprecated. use constructor of com.sap.tc.logging.Category.logThrowableT |
static void |
logThrowable(int severity,
Category category,
String method,
Throwable throwable)
Deprecated. use constructor of com.sap.tc.logging.Category.logThrowableT |
static void |
traceThrowable(int severity,
Location location,
String method,
Throwable throwable)
Deprecated. use constructor of com.sap.tc.logging.Location.traceThrowableT |
static void |
traceThrowable(int severity,
String method,
Throwable throwable)
Deprecated. use constructor of com.sap.tc.logging.Location.traceThrowableT |
static void |
traceThrowableT(int severity,
Location location,
String method,
String message,
Object[] params,
Throwable throwable)
|
static void |
traceThrowableT(int severity,
Location location,
String method,
String message,
Throwable throwable)
|
static void |
traceThrowableT(int severity,
Location location,
String method,
Throwable throwable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LEVEL_BASIC
public static final int LEVEL_MEDIUM
public static final int LEVEL_DETAIL
public static final Location LOC_CAF
public static final Category categoryCAF
public static final Category categoryXAPPS
| Constructor Detail |
|---|
public CAFPublicLogger()
| Method Detail |
|---|
public static void entering(String user,
String request,
String methodName,
String application)
user - request - methodName - application -
public static void entering(String user,
String request,
String methodName,
String application,
int traceLevel)
user - request - methodName - application - traceLevel -
public static void entering(String user,
String request,
String methodName,
String application,
Object[] params)
user - request - methodName - application - params -
public static void entering(String user,
String request,
String methodName,
String application,
Object[] params,
int traceLevel)
user - request - methodName - application - params - traceLevel -
public static void exiting(String user,
String request,
String methodName,
String application)
user - request - methodName - application -
public static void exiting(String user,
String request,
String methodName,
Location loc,
Object res)
user - request - methodName - loc - res -
public static void exiting(String user,
String request,
String methodName,
Location loc,
int traceLevel)
user - request - methodName - loc - traceLevel -
public static void exiting(String user,
String request,
String methodName,
Location loc,
Object res,
int traceLevel)
user - request - methodName - loc - res - traceLevel -
public static void traceThrowable(int severity,
String method,
Throwable throwable)
severity - method - throwable -
public static void traceThrowable(int severity,
Location location,
String method,
Throwable throwable)
severity - location - method - throwable -
public static void traceThrowableT(int severity,
Location location,
String method,
String message,
Object[] params,
Throwable throwable)
public static void traceThrowableT(int severity,
Location location,
String method,
String message,
Throwable throwable)
public static void traceThrowableT(int severity,
Location location,
String method,
Throwable throwable)
public static void logThrowable(int severity,
Category category,
String method,
Throwable throwable)
severity - category - method - throwable -
public static void logThrowable(int severity,
Category category,
Location location,
String method,
Throwable throwable)
severity - category - location - method - throwable -
public static void logThrowable(int severity,
Category category,
Location location,
String method,
String message,
Throwable throwable)
severity - category - location - method - message - throwable -
public static void log(int severity,
Location location,
String method,
String message,
Object[] params)
severity - location - method - message - params -
public static void log(int severity,
Location location,
String method,
String message)
severity - location - method - message - params -
|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||