|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.util.configuration.TraceCarol
Class TraceCarol
for Carol Trace configuration
Field Summary | |
protected static org.objectweb.util.monolog.api.Logger |
carolLogger
the carol logger jndiCarol and rmiCarol logger are children of carol logger |
protected static org.objectweb.util.monolog.api.Logger |
cmiDesLogger
|
protected static org.objectweb.util.monolog.api.Logger |
cmiJndiLogger
|
protected static org.objectweb.util.monolog.api.Logger |
cmiRegistryLogger
|
protected static org.objectweb.util.monolog.api.Logger |
exportCarolLogger
|
protected static org.objectweb.util.monolog.api.Logger |
jndiCarolLogger
|
static java.lang.String |
prefix
prefix used to identify CAROL loggers |
protected static org.objectweb.util.monolog.api.Logger |
rmiCarolLogger
|
Constructor Summary | |
TraceCarol()
|
Method Summary | |
static void |
configure()
Configure the log for CAROL. |
static void |
configure(org.objectweb.util.monolog.api.LoggerFactory lf)
Configure the log for CAROL |
static void |
debugCarol(java.lang.String msg)
Log a Carol debug message. |
static void |
debugCmiDes(java.lang.String msg)
Log a Cmi DES debug message. |
static void |
debugCmiJndi(java.lang.String msg)
Log a Cmi JNDI debug message. |
static void |
debugCmiRegistry(java.lang.String msg)
Log a Cmi registry debug message. |
static void |
debugExportCarol(java.lang.String msg)
|
static void |
debugJndiCarol(java.lang.String msg)
Log a Jndi debug message. |
static void |
debugRmiCarol(java.lang.String msg)
Log a Rmi debug message. |
static void |
error(java.lang.String msg)
Log an error message. |
static void |
error(java.lang.String msg,
java.lang.Throwable th)
Log an error message and a stack trace from a Throwable object. |
static void |
infoCarol(java.lang.String msg)
Log a Carol Info message. |
static boolean |
isDebugCarol()
Test if Carol debug messages are logged. |
static boolean |
isDebugCmiDes()
Test if Cmi DES debug messages are logged. |
static boolean |
isDebugCmiJndi()
Test if Cmi JNDI debug messages are logged. |
static boolean |
isDebugCmiRegistry()
Test if Cmi registry debug messages are logged. |
static boolean |
isDebugExportCarol()
|
static boolean |
isDebugJndiCarol()
Test if Jndi debug messages are logged. |
static boolean |
isDebugRmiCarol()
Test if Rmi debug messages are logged. |
static boolean |
isInfoCarol()
Test if Carol info messages are logged. |
static void |
verbose(java.lang.String msg)
Log a verbose message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String prefix
protected static org.objectweb.util.monolog.api.Logger carolLogger
protected static org.objectweb.util.monolog.api.Logger jndiCarolLogger
protected static org.objectweb.util.monolog.api.Logger rmiCarolLogger
protected static org.objectweb.util.monolog.api.Logger exportCarolLogger
protected static org.objectweb.util.monolog.api.Logger cmiDesLogger
protected static org.objectweb.util.monolog.api.Logger cmiJndiLogger
protected static org.objectweb.util.monolog.api.Logger cmiRegistryLogger
Constructor Detail |
public TraceCarol()
Method Detail |
public static void configure()
trace.properties
, which should be available from
the classpath.
public static void configure(org.objectweb.util.monolog.api.LoggerFactory lf)
public static void verbose(java.lang.String msg)
public static void error(java.lang.String msg)
public static void error(java.lang.String msg, java.lang.Throwable th)
public static boolean isDebugCarol()
true
if Carol debug messages are logged,
false
otherwisepublic static void debugCarol(java.lang.String msg)
public static boolean isInfoCarol()
true
if Carol debug messages are logged,
false
otherwisepublic static void infoCarol(java.lang.String msg)
public static boolean isDebugJndiCarol()
true
if Jndi debug messages are logged,
false
otherwisepublic static void debugJndiCarol(java.lang.String msg)
public static boolean isDebugRmiCarol()
true
if Rmi debug messages are logged,
false
otherwisepublic static void debugRmiCarol(java.lang.String msg)
public static boolean isDebugExportCarol()
public static void debugExportCarol(java.lang.String msg)
public static boolean isDebugCmiDes()
true
if Cmi DES debug messages are logged,
false
otherwisepublic static void debugCmiDes(java.lang.String msg)
public static boolean isDebugCmiJndi()
true
if Cmi JNDI debug messages are
logged, false
otherwisepublic static void debugCmiJndi(java.lang.String msg)
public static boolean isDebugCmiRegistry()
true
if Cmi registry debug messages are
logged, false
otherwisepublic static void debugCmiRegistry(java.lang.String msg)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |