public enum OrtLoggingLevel extends java.lang.Enum<OrtLoggingLevel>
Enum Constant and Description |
---|
ORT_LOGGING_LEVEL_ERROR |
ORT_LOGGING_LEVEL_FATAL |
ORT_LOGGING_LEVEL_INFO |
ORT_LOGGING_LEVEL_VERBOSE |
ORT_LOGGING_LEVEL_WARNING |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the native value associated with this logging level.
|
static OrtLoggingLevel |
mapFromInt(int logLevel)
Maps from the C API's int enum to the Java enum.
|
static OrtLoggingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrtLoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrtLoggingLevel ORT_LOGGING_LEVEL_VERBOSE
public static final OrtLoggingLevel ORT_LOGGING_LEVEL_INFO
public static final OrtLoggingLevel ORT_LOGGING_LEVEL_WARNING
public static final OrtLoggingLevel ORT_LOGGING_LEVEL_ERROR
public static final OrtLoggingLevel ORT_LOGGING_LEVEL_FATAL
public static OrtLoggingLevel[] values()
for (OrtLoggingLevel c : OrtLoggingLevel.values()) System.out.println(c);
public static OrtLoggingLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static OrtLoggingLevel mapFromInt(int logLevel)
logLevel
- The index of the Java enum.