Class LogLevel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LogLevel>
com.azure.resourcemanager.containerregistry.models.LogLevel
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The verbosity of logs persisted on the connected registry.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LogLevelStatic value Debug for LogLevel.static final LogLevelStatic value Error for LogLevel.static final LogLevelStatic value Information for LogLevel.static final LogLevelStatic value None for LogLevel.static final LogLevelStatic value Warning for LogLevel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogLevelfromString(String name) Creates or finds a LogLevel from its string representation.static Collection<LogLevel> values()Gets known LogLevel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DEBUG
Static value Debug for LogLevel. -
INFORMATION
Static value Information for LogLevel. -
WARNING
Static value Warning for LogLevel. -
ERROR
Static value Error for LogLevel. -
NONE
Static value None for LogLevel.
-
-
Constructor Details
-
LogLevel
Deprecated.Use thefromString(String)factory method.Creates a new instance of LogLevel value.
-
-
Method Details
-
fromString
Creates or finds a LogLevel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LogLevel.
-
values
Gets known LogLevel values.- Returns:
- known LogLevel values.
-
fromString(String)factory method.