|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.util.Log
public class Log
Simple wrapper to the incorporated LogKit to log under a single logging name.
Method Summary | |
---|---|
static void |
debug(String s)
|
static void |
debug(String s,
Throwable throwable)
|
static void |
debug(Throwable throwable)
|
static void |
error(String s)
|
static void |
error(String s,
Throwable throwable)
|
static void |
error(Throwable throwable)
|
static void |
fatal(String s)
|
static void |
fatal(String s,
Throwable throwable)
|
static void |
fatal(Throwable throwable)
|
static String |
getLogDirectory()
Returns the directory that log files exist in. |
static void |
info(String s)
|
static void |
info(String s,
Throwable throwable)
|
static void |
info(Throwable throwable)
|
static void |
initLog()
This method is used to initialize the Log class. |
static boolean |
isDebugEnabled()
|
static boolean |
isErrorEnabled()
|
static boolean |
isFatalEnabled()
|
static boolean |
isInfoEnabled()
|
static boolean |
isWarnEnabled()
|
static void |
markDebugLogFile(String username)
|
static void |
markErrorLogFile(String username)
|
static void |
markInfoLogFile(String username)
|
static void |
markWarnLogFile(String username)
|
static void |
rotateDebugLogFile()
|
static void |
rotateErrorLogFile()
|
static void |
rotateInfoLogFile()
|
static void |
rotateWarnLogFile()
|
static void |
setDebugEnabled(boolean enabled)
|
static void |
setProductName(String productName)
|
static void |
warn(String s)
|
static void |
warn(String s,
Throwable throwable)
|
static void |
warn(Throwable throwable)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void initLog()
public static void setProductName(String productName)
public static boolean isErrorEnabled()
public static boolean isFatalEnabled()
public static boolean isDebugEnabled()
public static void setDebugEnabled(boolean enabled)
public static boolean isInfoEnabled()
public static boolean isWarnEnabled()
public static void debug(String s)
public static void debug(Throwable throwable)
public static void debug(String s, Throwable throwable)
public static void markDebugLogFile(String username)
public static void rotateDebugLogFile()
public static void info(String s)
public static void info(Throwable throwable)
public static void info(String s, Throwable throwable)
public static void markInfoLogFile(String username)
public static void rotateInfoLogFile()
public static void warn(String s)
public static void warn(Throwable throwable)
public static void warn(String s, Throwable throwable)
public static void markWarnLogFile(String username)
public static void rotateWarnLogFile()
public static void error(String s)
public static void error(Throwable throwable)
public static void error(String s, Throwable throwable)
public static void markErrorLogFile(String username)
public static void rotateErrorLogFile()
public static void fatal(String s)
public static void fatal(Throwable throwable)
public static void fatal(String s, Throwable throwable)
public static String getLogDirectory()
|
Openfire 3.5.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |