com.adobe.livecycle.output.logging
Class OutputLogger

java.lang.Object
  extended by com.adobe.livecycle.output.logging.OutputLogger

public class OutputLogger
extends java.lang.Object


Field Summary
static java.lang.String FRM_PERF_KW
           
static int LOG_DEBUG
           
static int LOG_INFO
           
static java.lang.String OUT_PERF_KW
           
static java.lang.String OUTPUT_LOGGING_BUNDLE
           
static java.lang.String PERF_KW
           
 
Constructor Summary
OutputLogger()
          This class uses the AdobeLogger class to log Messages and exception This is a general utility class which can be used by all other classes in the print service
 
Method Summary
static java.lang.String dumpLog(java.lang.Object caller, java.lang.Exception e)
           
static java.lang.String dumpLog(java.lang.Object caller, java.lang.Exception e, java.util.logging.Level level)
           
static void dumpLog(java.lang.Object caller, java.lang.String msg, java.util.logging.Level level)
           
static java.util.ArrayList getBuffer()
           
static boolean getPerformanceLogEnabled()
           
static java.lang.String getResourceString(java.util.ResourceBundle bundle, java.lang.String resourceID)
           
static java.lang.String getResourceString(java.util.ResourceBundle bundle, java.lang.String resourceID, java.lang.String[] args)
           
static java.lang.String getResourceString(java.lang.String resourceID)
           
static java.lang.String getResourceString(java.lang.String resourceID, java.lang.String value)
           
static java.lang.String getResourceString(java.lang.String resourceID, java.lang.String[] args)
           
static void logDebug(java.lang.Class oClass, java.lang.String text)
           
static void logInfo(java.lang.Class oClass, java.lang.String text)
           
static void logMessage(java.lang.Class oClass, int severity, java.lang.String resourceID, java.lang.String[] args)
           
static void logMessage(java.lang.Class oClass, java.util.logging.Level level, java.util.ResourceBundle bundle, java.lang.String resourceID)
           
static void logMessage(java.lang.Class oClass, java.util.logging.Level level, java.util.ResourceBundle bundle, java.lang.String resourceID, java.lang.String[] args)
           
static void logMessage(java.lang.Class oClass, java.util.logging.Level level, java.lang.String resourceID)
           
static void logMessage(java.lang.Class oClass, java.util.logging.Level level, java.lang.String resourceID, java.lang.String value)
           
static void logMessage(java.lang.Class oClass, java.util.logging.Level level, java.lang.String resourceID, java.lang.String[] args)
           
static long logPerformance(boolean diff, long timeStamp, java.lang.String text)
           
static void setBuffer(java.util.ArrayList oList)
           
static void setPerformanceLogEnabled(boolean bEnable)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_INFO

public static final int LOG_INFO
See Also:
Constant Field Values

LOG_DEBUG

public static final int LOG_DEBUG
See Also:
Constant Field Values

FRM_PERF_KW

public static final java.lang.String FRM_PERF_KW
See Also:
Constant Field Values

OUT_PERF_KW

public static final java.lang.String OUT_PERF_KW
See Also:
Constant Field Values

PERF_KW

public static final java.lang.String PERF_KW
See Also:
Constant Field Values

OUTPUT_LOGGING_BUNDLE

public static java.lang.String OUTPUT_LOGGING_BUNDLE
Constructor Detail

OutputLogger

public OutputLogger()
This class uses the AdobeLogger class to log Messages and exception This is a general utility class which can be used by all other classes in the print service

Method Detail

getResourceString

public static java.lang.String getResourceString(java.util.ResourceBundle bundle,
                                                 java.lang.String resourceID)

getResourceString

public static java.lang.String getResourceString(java.lang.String resourceID)

getResourceString

public static java.lang.String getResourceString(java.lang.String resourceID,
                                                 java.lang.String value)

getResourceString

public static java.lang.String getResourceString(java.util.ResourceBundle bundle,
                                                 java.lang.String resourceID,
                                                 java.lang.String[] args)

getResourceString

public static java.lang.String getResourceString(java.lang.String resourceID,
                                                 java.lang.String[] args)

logMessage

public static void logMessage(java.lang.Class oClass,
                              java.util.logging.Level level,
                              java.util.ResourceBundle bundle,
                              java.lang.String resourceID)

logMessage

public static void logMessage(java.lang.Class oClass,
                              java.util.logging.Level level,
                              java.lang.String resourceID)

logMessage

public static void logMessage(java.lang.Class oClass,
                              java.util.logging.Level level,
                              java.lang.String resourceID,
                              java.lang.String value)

logMessage

public static void logMessage(java.lang.Class oClass,
                              java.util.logging.Level level,
                              java.lang.String resourceID,
                              java.lang.String[] args)

logMessage

public static void logMessage(java.lang.Class oClass,
                              java.util.logging.Level level,
                              java.util.ResourceBundle bundle,
                              java.lang.String resourceID,
                              java.lang.String[] args)

dumpLog

public static java.lang.String dumpLog(java.lang.Object caller,
                                       java.lang.Exception e,
                                       java.util.logging.Level level)

dumpLog

public static java.lang.String dumpLog(java.lang.Object caller,
                                       java.lang.Exception e)

dumpLog

public static void dumpLog(java.lang.Object caller,
                           java.lang.String msg,
                           java.util.logging.Level level)

logPerformance

public static long logPerformance(boolean diff,
                                  long timeStamp,
                                  java.lang.String text)

getBuffer

public static java.util.ArrayList getBuffer()

setBuffer

public static void setBuffer(java.util.ArrayList oList)

getPerformanceLogEnabled

public static boolean getPerformanceLogEnabled()

setPerformanceLogEnabled

public static void setPerformanceLogEnabled(boolean bEnable)

logInfo

public static void logInfo(java.lang.Class oClass,
                           java.lang.String text)

logDebug

public static void logDebug(java.lang.Class oClass,
                            java.lang.String text)

logMessage

public static void logMessage(java.lang.Class oClass,
                              int severity,
                              java.lang.String resourceID,
                              java.lang.String[] args)