com.avaje.ebean
Enum AdminLogging.LogLevelStmt
java.lang.Object
java.lang.Enum<AdminLogging.LogLevelStmt>
com.avaje.ebean.AdminLogging.LogLevelStmt
- All Implemented Interfaces:
- Serializable, Comparable<AdminLogging.LogLevelStmt>
- Enclosing interface:
- AdminLogging
-
public static enum AdminLogging.LogLevelStmt
- extends Enum<AdminLogging.LogLevelStmt>
-
Statement logging level.
For defining the amount of logging on queries, insert, update and delete statements.
Enum Constant Summary |
BINDING
Log summary and additionally the binding variables. |
NONE
No logging. |
SQL
Log all including the binding variables and generated SQL/DML. |
SUMMARY
Log only a summary level. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NONE
public static final AdminLogging.LogLevelStmt NONE
-
No logging.
SUMMARY
public static final AdminLogging.LogLevelStmt SUMMARY
-
Log only a summary level.
BINDING
public static final AdminLogging.LogLevelStmt BINDING
-
Log summary and additionally the binding variables.
SQL
public static final AdminLogging.LogLevelStmt SQL
-
Log all including the binding variables and generated SQL/DML.
values
public static AdminLogging.LogLevelStmt[] values()
-
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AdminLogging.LogLevelStmt c : AdminLogging.LogLevelStmt.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static AdminLogging.LogLevelStmt valueOf(String name)
-
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
Copyright © 2010. All Rights Reserved.