Enum TraceJdbcProperties.P6SpyProperties.P6SpyLogging
- java.lang.Object
-
- java.lang.Enum<TraceJdbcProperties.P6SpyProperties.P6SpyLogging>
-
- org.springframework.cloud.sleuth.autoconfig.instrument.jdbc.TraceJdbcProperties.P6SpyProperties.P6SpyLogging
-
- All Implemented Interfaces:
Serializable,Comparable<TraceJdbcProperties.P6SpyProperties.P6SpyLogging>
- Enclosing class:
- TraceJdbcProperties.P6SpyProperties
public static enum TraceJdbcProperties.P6SpyProperties.P6SpyLogging extends Enum<TraceJdbcProperties.P6SpyProperties.P6SpyLogging>
P6Spy logging options.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraceJdbcProperties.P6SpyProperties.P6SpyLoggingvalueOf(String name)Returns the enum constant of this type with the specified name.static TraceJdbcProperties.P6SpyProperties.P6SpyLogging[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSOUT
public static final TraceJdbcProperties.P6SpyProperties.P6SpyLogging SYSOUT
Log using System.out.
-
SLF4J
public static final TraceJdbcProperties.P6SpyProperties.P6SpyLogging SLF4J
Log using SLF4J.
-
FILE
public static final TraceJdbcProperties.P6SpyProperties.P6SpyLogging FILE
Log to file.
-
CUSTOM
public static final TraceJdbcProperties.P6SpyProperties.P6SpyLogging CUSTOM
Custom logging.
-
-
Method Detail
-
values
public static TraceJdbcProperties.P6SpyProperties.P6SpyLogging[] 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 (TraceJdbcProperties.P6SpyProperties.P6SpyLogging c : TraceJdbcProperties.P6SpyProperties.P6SpyLogging.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraceJdbcProperties.P6SpyProperties.P6SpyLogging 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 nameNullPointerException- if the argument is null
-
-