Serializable
, Comparable<MongoEmbeddedSettings.LogLevel>
public static enum MongoEmbeddedSettings.LogLevel extends Enum<MongoEmbeddedSettings.LogLevel>
Enum Constant | Description |
---|---|
LOGGER |
Log via the
org.mongodb.embedded.server logger |
NONE |
Turn off logging
|
STDERR |
Log to stderr
|
STDOUT |
Log to stdout
|
Modifier and Type | Method | Description |
---|---|---|
int |
getLevel() |
|
static MongoEmbeddedSettings.LogLevel |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MongoEmbeddedSettings.LogLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoEmbeddedSettings.LogLevel NONE
public static final MongoEmbeddedSettings.LogLevel STDOUT
public static final MongoEmbeddedSettings.LogLevel STDERR
public static final MongoEmbeddedSettings.LogLevel LOGGER
org.mongodb.embedded.server
loggerLogger
public static MongoEmbeddedSettings.LogLevel[] values()
for (MongoEmbeddedSettings.LogLevel c : MongoEmbeddedSettings.LogLevel.values()) System.out.println(c);
public static MongoEmbeddedSettings.LogLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getLevel()