|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LoggerFactory.LogType>
com.j256.ormlite.logger.LoggerFactory.LogType
public static enum LoggerFactory.LogType
Type of internal logs supported. This is package permissions for testing.
Enum Constant Summary | |
---|---|
ANDROID
WARNING: Android log must be _before_ commons logging since Android provides commons logging but logging messages are ignored that are sent there. |
|
COMMONS_LOGGING
|
|
LOCAL
|
|
LOG4J
|
|
LOG4J2
|
|
SLF4J
|
Method Summary | |
---|---|
Log |
createLog(String classLabel)
Create and return a Log class for this type. |
boolean |
isAvailable()
Return true if the log class is available. |
static LoggerFactory.LogType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LoggerFactory.LogType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LoggerFactory.LogType ANDROID
public static final LoggerFactory.LogType SLF4J
public static final LoggerFactory.LogType COMMONS_LOGGING
public static final LoggerFactory.LogType LOG4J2
public static final LoggerFactory.LogType LOG4J
public static final LoggerFactory.LogType LOCAL
Method Detail |
---|
public static LoggerFactory.LogType[] values()
for (LoggerFactory.LogType c : LoggerFactory.LogType.values()) System.out.println(c);
public static LoggerFactory.LogType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic Log createLog(String classLabel)
public boolean isAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |