|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object logging.LogType
public final class LogType
This class holds the available log types. Log types may be combined by bitwise or(|).
LogHolder
Field Summary | |
---|---|
static int |
AGREEMENT
Indicates messages from the paw filter system |
static int |
ALL
Indicates all messages |
static int |
CRYPTO
Indicates a message related to cryptographic operations (binary: 00100000 ) |
static int |
FILTER
Indicates messages from the http filter system |
static int |
GUI
Indicates a GUI related message (binary: 00000001 ) |
private static int[] |
LOG_TYPES
The integer values of all log types. |
static int |
MISC
Indicates a misc message (binary: 00001000 ) |
static int |
NET
Indicates a network related message (binary: 00000010 ) |
static int |
NUL
|
static int |
PAW
Indicates messages from the paw filter system |
static int |
PAY
Indicates a pay message (binary: 00001000 ) |
private static java.lang.String |
STR_ADD_LOG_TYPE
The concatenation string of the human readable log types. |
private static java.lang.String[] |
STR_LOG_TYPES
The human readyble names of all log types. |
static int |
THREAD
Indicates a thread related message (binary: 00000100 ) |
static int |
TOR
Indicates a TOR message (binary: 00010000 ) |
Constructor Summary | |
---|---|
private |
LogType()
Instances of this class are not allowed. |
Method Summary | |
---|---|
private static int |
createLogTypeALL()
|
static int[] |
getAvailableLogTypes()
Returns the integer values of all available log types. |
static java.lang.String |
getLogTypeName(int a_logType)
Returns the name of the given log type as a human readable string. |
static int |
getNumberOfLogTypes()
Returns the number of all available log types. |
static boolean |
isValidLogType(int a_logType)
Returns if the given LogType is a valid log type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String[] STR_LOG_TYPES
private static final java.lang.String STR_ADD_LOG_TYPE
private static final int[] LOG_TYPES
public static final int NUL
public static final int GUI
00000001
)
public static final int NET
00000010
)
public static final int THREAD
00000100
)
public static final int MISC
00001000
)
public static final int PAY
00001000
)
public static final int TOR
00010000
)
public static final int CRYPTO
00100000
)
public static final int PAW
public static final int FILTER
public static final int AGREEMENT
public static final int ALL
Constructor Detail |
---|
private LogType()
Method Detail |
---|
public static boolean isValidLogType(int a_logType)
a_logType
- a log type
public static int[] getAvailableLogTypes()
public static int getNumberOfLogTypes()
public static java.lang.String getLogTypeName(int a_logType)
a_logType
- a log type (may consist of several log types that have been combined)
private static int createLogTypeALL()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |