public enum LoggingLevel extends Enum<LoggingLevel>
Enum Constant and Description |
---|
NONE
Disable Serenity logging.
|
NORMAL
Log the start and end of each test, and the result of each test.
|
QUIET
Only report compromised tests, errors and failures.
|
SUMMARY
Report on the completion of each test
|
VERBOSE
Log the start and end of each test, and the result of each test, and each test step.
|
Modifier and Type | Method and Description |
---|---|
static LoggingLevel |
definedIn(EnvironmentVariables environmentVariables) |
boolean |
isAtLeast(LoggingLevel minimumLoggingLevel) |
static LoggingLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel NONE
public static final LoggingLevel QUIET
public static final LoggingLevel SUMMARY
public static final LoggingLevel NORMAL
public static final LoggingLevel VERBOSE
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel 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 static LoggingLevel definedIn(EnvironmentVariables environmentVariables)
public boolean isAtLeast(LoggingLevel minimumLoggingLevel)
Copyright © 2022. All rights reserved.