jondo
Class Logger
java.lang.Object
jondo.Logger
public class Logger
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_DETAIL_LEVEL_LOWEST
public static final int LOG_DETAIL_LEVEL_LOWEST
- See Also:
- Constant Field Values
LOG_DETAIL_LEVEL_LOWER
public static final int LOG_DETAIL_LEVEL_LOWER
- See Also:
- Constant Field Values
LOG_DETAIL_LEVEL_HIGH
public static final int LOG_DETAIL_LEVEL_HIGH
- See Also:
- Constant Field Values
LOG_DETAIL_LEVEL_HIGHEST
public static final int LOG_DETAIL_LEVEL_HIGHEST
- See Also:
- Constant Field Values
LOG_LEVEL_EMERG
public static final int LOG_LEVEL_EMERG
- See Also:
- Constant Field Values
LOG_LEVEL_ALERT
public static final int LOG_LEVEL_ALERT
- See Also:
- Constant Field Values
LOG_LEVEL_EXCEPTION
public static final int LOG_LEVEL_EXCEPTION
- See Also:
- Constant Field Values
LOG_LEVEL_ERR
public static final int LOG_LEVEL_ERR
- See Also:
- Constant Field Values
LOG_LEVEL_WARNING
public static final int LOG_LEVEL_WARNING
- See Also:
- Constant Field Values
LOG_LEVEL_NOTICE
public static final int LOG_LEVEL_NOTICE
- See Also:
- Constant Field Values
LOG_LEVEL_INFO
public static final int LOG_LEVEL_INFO
- See Also:
- Constant Field Values
LOG_LEVEL_DEBUG
public static final int LOG_LEVEL_DEBUG
- See Also:
- Constant Field Values
getLogLevelCount
public static int getLogLevelCount()
- Returns the number of log levels. Each log level is represented by an integer
value from 0 to getLogLevelCount() - 1.
- Returns:
getLogLevelName
public static java.lang.String getLogLevelName(int a_level)
getLogDetailName
public static java.lang.String getLogDetailName(int a_detail)
getAvailableLogTypes
public static int[] getAvailableLogTypes()
getLogTypeName
public static java.lang.String getLogTypeName(int a_logType)
getLogDetailCount
public static int getLogDetailCount()
log
public void log(int a_logLevel,
java.lang.String a_message)
log
public void log(int a_logLevel,
java.lang.Throwable a_throwable)
log
public void log(int a_logLevel,
java.lang.String a_message,
java.lang.Throwable a_throwable)
getLogDetail
public int getLogDetail()
setLogDetail
public boolean setLogDetail(int a_logDetail)
setLogTypes
public boolean setLogTypes(int a_logTypes)
getLogTypes
public int getLogTypes()
setLogLevel
public void setLogLevel(int a_level)
getLogLevel
public int getLogLevel()