|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.util.httpproxy.util.Logger
public class Logger
Utility class for logging.
Field Summary | |
---|---|
static String |
DEFAULT_LOGGING_CONFIGURATION
|
Method Summary | |
---|---|
static void |
configure()
|
static void |
configure(InputStream configIS)
|
void |
debug(String msg)
Write a log message for debug. |
void |
debug(String msg,
Throwable e)
|
void |
fatal(String msg)
Write a log message for serious situation. |
void |
fatal(String msg,
Throwable e)
|
static Logger |
getLogger(Class clazz)
|
void |
info(String msg)
Write a log message for informational messages. |
boolean |
isDebugEnabled()
|
boolean |
isMethodTracingEnabled()
|
static void |
setConfigPropertyName(String name)
|
void |
warning(String msg)
Write a log message notifying a potential problem. |
void |
warning(String msg,
Throwable e)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_LOGGING_CONFIGURATION
Method Detail |
---|
public static void setConfigPropertyName(String name)
name
- public static Logger getLogger(Class clazz)
clazz
-
public static void configure() throws Exception
Exception
public static void configure(InputStream configIS) throws Exception
configIS
-
Exception
public final boolean isDebugEnabled()
public final boolean isMethodTracingEnabled()
public void fatal(String msg)
msg
- public void fatal(String msg, Throwable e)
msg
- e
- public void warning(String msg)
msg
- public void warning(String msg, Throwable e)
msg
- e
- public void info(String msg)
msg
- public void debug(String msg)
msg
- public void debug(String msg, Throwable e)
msg
- e
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |