Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.common.logging
Class WsmMessageLogger

java.lang.Object
  extended by oracle.wsm.common.logging.WsmMessageLogger

Direct Known Subclasses:
CommonMessageLogger, EnforcementMessageLogger, LegacyPolicyMessageLogger, MDSMessageLogger, MonitorMessageLogger, PAPMessageLogger, PMMessageLogger, PolicyMessageLogger, SecurityMessageLogger

public class WsmMessageLogger
extends Object

Constructor Summary
WsmMessageLogger()
           

 

Method Summary
protected static String getBundleClassName(String bundleType)
           
protected static String getLoggerName(String bundleType)
           
static void logInfo(Logger logger, String msgid)
           
static void logInfo(Logger logger, String msgid, Object supplDetail)
          Log message as well as the Throwable stacktrace
static void logInfo(Logger logger, String msgid, Object[] args)
           
static void logInfo(Logger logger, String msgid, Object[] args, Throwable e)
          Log message as well as the Throwable stacktrace (stacetrace is logged only if FINE, FINER, or above is loggable)
static void logInfo(Logger logger, String msgid, Object[] args, Throwable e, boolean onlyIfFINE)
          Log message with argument replacement as well as the Throwable stacktrace
static void logInfo(Logger logger, String msgid, Throwable e)
          Log message as well as the Throwable stacktrace (stacetrace is logged only if FINE, FINER, or above is loggable)
static void logInfo(Logger logger, String msgid, Throwable e, boolean onlyIfFINE)
          Log message as well as the Throwable stacktrace
static void logSevere(Logger logger, String msgid)
           
static void logSevere(Logger logger, String msgid, Object supplDetail)
           
static void logSevere(Logger logger, String msgid, Object[] args)
           
static void logSevere(Logger logger, String msgid, Object[] args, Throwable e)
          Log message with argument replacement as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
static void logSevere(Logger logger, String msgid, Object[] args, Throwable e, boolean onlyIfFINE)
          Log message with argement replacement as well as the Throwable stacktrace
static void logSevere(Logger logger, String msgid, Throwable e)
          Log message as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
static void logSevere(Logger logger, String msgid, Throwable e, boolean onlyIfFINE)
          Log message as well as the Throwable stacktrace
static void logWarning(Logger logger, String msgid)
           
static void logWarning(Logger logger, String msgid, Object supplDetail)
           
static void logWarning(Logger logger, String msgid, Object[] args)
           
static void logWarning(Logger logger, String msgid, Object[] args, Throwable e)
          Log message with argument replacement as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
static void logWarning(Logger logger, String msgid, Object[] args, Throwable e, boolean onlyIfFINE)
          Log message with argument replacement as well as the Throwable stacktrace
static void logWarning(Logger logger, String msgid, Throwable e)
          Log message as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER, or above is loggable)
static void logWarning(Logger logger, String msgid, Throwable e, boolean onlyIfFINE)
          Log message as well as the Throwable stacktrace

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

WsmMessageLogger

public WsmMessageLogger()

Method Detail

logSevere

public static void logSevere(Logger logger,
                             String msgid)

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Object[] args)
Parameters:
logger -
msgid -
Object[] - args, anything other than Throwable

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Object supplDetail)
Parameters:
logger -
msgid -
supplDetail - Any supplimental object other than or Throwable

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Throwable e)
Log message as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
Parameters:
logger -
msgid -
e - an Throwable

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Object[] args,
                             Throwable e)
Log message with argument replacement as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
Parameters:
logger -
msgid -
args - an array of argument values for message argument replacement
e - an Throwable

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Throwable e,
                             boolean onlyIfFINE)
Log message as well as the Throwable stacktrace
Parameters:
logger -
msgid -
e - an Throwable
onlyIfFINE - boolean, true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if SEVERE is loggable.

logSevere

public static void logSevere(Logger logger,
                             String msgid,
                             Object[] args,
                             Throwable e,
                             boolean onlyIfFINE)
Log message with argement replacement as well as the Throwable stacktrace
Parameters:
logger -
msgid -
args - array of arguments value for message argument replacement
e - an Throwable
onlyIfFINE - boolean true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if SEVERE is loggable.

logWarning

public static void logWarning(Logger logger,
                              String msgid)

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Object[] args)
Parameters:
logger -
msgid -
Object[] - args, anything other than Throwable

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Object supplDetail)
Parameters:
logger -
msgid -
supplDetail - Any supplimental object other than Throwable

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Throwable e)
Log message as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER, or above is loggable)
Parameters:
logger -
msgid -
e - an Throwable

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Object[] args,
                              Throwable e)
Log message with argument replacement as well as the Throwable stacktrace (stacktrace is logged only if FINE, FINER or above is loggable)
Parameters:
logger -
msgid -
args - an array of Object argument for message argument replacement
e - an Throwable

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Throwable e,
                              boolean onlyIfFINE)
Log message as well as the Throwable stacktrace
Parameters:
logger -
msgid -
e - an Throwable
onlyIfFINE - boolean true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if WARNING is loggable.

logWarning

public static void logWarning(Logger logger,
                              String msgid,
                              Object[] args,
                              Throwable e,
                              boolean onlyIfFINE)
Log message with argument replacement as well as the Throwable stacktrace
Parameters:
logger -
msgid -
args - an array of Object argument for message argument replacement
e - an Throwable
onlyIfFINE - boolean true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if WARNING is loggable.

logInfo

public static void logInfo(Logger logger,
                           String msgid)

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Object[] args)
Parameters:
logger -
msgid -
Object[] - args, anything other than Throwable

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Object supplDetail)
Log message as well as the Throwable stacktrace
Parameters:
logger -
msgid -
supplDetail - Any supplimental object other than or Throwable

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Throwable e)
Log message as well as the Throwable stacktrace (stacetrace is logged only if FINE, FINER, or above is loggable)
Parameters:
logger -
msgid -
e - an Throwable

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Object[] args,
                           Throwable e)
Log message as well as the Throwable stacktrace (stacetrace is logged only if FINE, FINER, or above is loggable)
Parameters:
logger -
msgid -
args - an array of Object arguments for message argument replacement
e - an Throwable

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Throwable e,
                           boolean onlyIfFINE)
Log message as well as the Throwable stacktrace
Parameters:
logger -
msgid -
e - an Throwable
onlyIfFINE - boolean true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if INFO is loggable.

logInfo

public static void logInfo(Logger logger,
                           String msgid,
                           Object[] args,
                           Throwable e,
                           boolean onlyIfFINE)
Log message with argument replacement as well as the Throwable stacktrace
Parameters:
logger -
msgid -
args - an array of Object arguments for message argument replacement.
e - an Throwable
onlyIfFINE - boolean true: stacktrace is logged only if FINE, FINER or above is loggable. false: stacktrace is logged if INFO is loggable.

getBundleClassName

protected static String getBundleClassName(String bundleType)

getLoggerName

protected static String getLoggerName(String bundleType)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.