public final class PolicyLogger
extends com.sun.istack.logging.Logger
Logger interface.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
POLICY_PACKAGE_ROOT
If we run with JAX-WS, we are using its logging domain (appended with ".wspolicy").
|
| Modifier | Constructor and Description |
|---|---|
private |
PolicyLogger(java.lang.String policyLoggerName,
java.lang.String className)
Make sure this class cannot be instantiated by client code.
|
| Modifier and Type | Method and Description |
|---|---|
static PolicyLogger |
getLogger(java.lang.Class<?> componentClass)
The factory method returns preconfigured PolicyLogger wrapper for the class.
|
private static java.lang.String |
getLoggingSubsystemName() |
config, config, config, entering, entering, exiting, exiting, fine, fine, finer, finer, finer, finest, finest, finest, getLogger, info, info, info, isLoggable, isMethodCallLoggable, log, log, log, log, logException, logException, logException, logSevereException, logSevereException, logSevereException, setLevel, severe, severe, severe, warning, warning, warningprivate static final java.lang.String POLICY_PACKAGE_ROOT
private PolicyLogger(java.lang.String policyLoggerName,
java.lang.String className)
policyLoggerName - The name of the subsystem to be logged.className - The fully qualified class name.public static PolicyLogger getLogger(java.lang.Class<?> componentClass)
componentClass - class of the component that will use the logger instance. Must not be null.java.lang.NullPointerException - if the componentClass parameter is null.private static java.lang.String getLoggingSubsystemName()