|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.carol.util.configuration.TraceCarol
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 |
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 |
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 boolean |
isDebugCarol()
Test if Carol debug messages are logged. |
static boolean |
isDebugJndiCarol()
Test if Jndi debug messages are logged. |
static boolean |
isDebugRmiCarol()
Test if Rmi debug 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
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 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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |