|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.Log
public class Log
Simple wrapper to the JDK logger.
Method Summary | |
---|---|
static void |
debug(java.lang.String s)
|
static void |
debug(java.lang.String s,
java.lang.Throwable throwable)
|
static void |
debug(java.lang.Throwable throwable)
|
static void |
error(java.lang.String s)
|
static void |
error(java.lang.String s,
java.lang.Throwable throwable)
|
static void |
error(java.lang.Throwable throwable)
|
static void |
fine(java.lang.String s,
java.lang.Throwable throwable)
|
static void |
fine(java.lang.Throwable throwable)
|
protected static void |
flushLogs()
This method is used to shutdown the Log class. |
static java.lang.String |
getLogDirectory()
Returns the directory that log files exist in. |
static void |
info(java.lang.String s)
|
static void |
info(java.lang.String s,
java.lang.Throwable throwable)
|
static void |
info(java.lang.Throwable throwable)
|
static void |
initLog()
This method is used to initialize the Log class. |
static boolean |
isDebugEnabled()
|
static boolean |
isErrorEnabled()
|
static boolean |
isInfoEnabled()
|
static boolean |
isWarnEnabled()
|
static void |
markDebugLogFile(User user)
|
static void |
markErrorLogFile(User user)
|
static void |
markInfoLogFile(User user)
|
static void |
markWarnLogFile(User user)
|
static void |
rotateDebugLogFile()
|
static void |
rotateErrorLogFile()
|
static void |
rotateInfoLogFile()
|
static void |
rotateWarnLogFile()
|
static void |
setDebugEnabled(boolean enabled)
|
static void |
warn(java.lang.String s)
|
static void |
warn(java.lang.String s,
java.lang.Throwable throwable)
|
static void |
warn(java.lang.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()
protected static void flushLogs()
public static boolean isDebugEnabled()
public static boolean isInfoEnabled()
public static boolean isWarnEnabled()
public static boolean isErrorEnabled()
public static void setDebugEnabled(boolean enabled)
public static void debug(java.lang.String s)
public static void debug(java.lang.Throwable throwable)
public static void debug(java.lang.String s, java.lang.Throwable throwable)
public static void fine(java.lang.Throwable throwable)
public static void fine(java.lang.String s, java.lang.Throwable throwable)
public static void markDebugLogFile(User user)
public static void rotateDebugLogFile()
public static void info(java.lang.String s)
public static void info(java.lang.Throwable throwable)
public static void info(java.lang.String s, java.lang.Throwable throwable)
public static void markInfoLogFile(User user)
public static void rotateInfoLogFile()
public static void warn(java.lang.String s)
public static void warn(java.lang.Throwable throwable)
public static void warn(java.lang.String s, java.lang.Throwable throwable)
public static void markWarnLogFile(User user)
public static void rotateWarnLogFile()
public static void error(java.lang.String s)
public static void error(java.lang.Throwable throwable)
public static void error(java.lang.String s, java.lang.Throwable throwable)
public static void markErrorLogFile(User user)
public static void rotateErrorLogFile()
public static java.lang.String getLogDirectory()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |