com.sap.tc.logging

Class LoggingUtilities

java.lang.Object
  extended by com.sap.tc.logging.LoggingUtilities

public class LoggingUtilities
extends Object


Constructor Summary
LoggingUtilities()
           
 
Method Summary
static String createExceptionMessage(String msgID, String message, Object... args)
           
static void defaultConfiguration(Category category, String logFileName)
          Use this method for stand alone tools only.
static void defaultConfiguration(Location location, String traceFileName)
          Use this method for stand alone tools only.
static String getCsnComponentByClassLoader(ClassLoader classLoader)
           
static String getCsnComponentByClassLoaderName(String classLoaderName)
           
static String getCsnComponentByDCName(String dcName)
           
static String getDcNameByClassLoader(ClassLoader classLoader)
           
static String getDcNameByClassLoaderName(String classLoaderName)
           
static LogRecord logAndTrace(int severity, Category category, Location location, Throwable t, String msgId, String dcName, String csnComponent, String msg, Object... messageArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingUtilities

public LoggingUtilities()
Method Detail

createExceptionMessage

public static String createExceptionMessage(String msgID,
                                            String message,
                                            Object... args)

logAndTrace

public static LogRecord logAndTrace(int severity,
                                    Category category,
                                    Location location,
                                    Throwable t,
                                    String msgId,
                                    String dcName,
                                    String csnComponent,
                                    String msg,
                                    Object... messageArgs)

getCsnComponentByClassLoaderName

public static String getCsnComponentByClassLoaderName(String classLoaderName)

getCsnComponentByClassLoader

public static String getCsnComponentByClassLoader(ClassLoader classLoader)

getCsnComponentByDCName

public static String getCsnComponentByDCName(String dcName)

getDcNameByClassLoader

public static String getDcNameByClassLoader(ClassLoader classLoader)

getDcNameByClassLoaderName

public static String getDcNameByClassLoaderName(String classLoaderName)

defaultConfiguration

public static void defaultConfiguration(Category category,
                                        String logFileName)
Use this method for stand alone tools only.


defaultConfiguration

public static void defaultConfiguration(Location location,
                                        String traceFileName)
Use this method for stand alone tools only.

Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/ddic/ddicruntime
[sap.com] ENGINEAPI [sap.com] tc/logging
[sap.com] ENGFACADE [sap.com] tc/bl/logging/api
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.lib
[sap.com] BRMS-FACADE [sap.com] tc/brms/facade


Copyright 2010 SAP AG Complete Copyright Notice