Class DaprLogLevel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DaprLogLevel>
com.azure.resourcemanager.appservice.models.DaprLogLevel
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DaprLogLevelStatic value debug for DaprLogLevel.static final DaprLogLevelStatic value error for DaprLogLevel.static final DaprLogLevelStatic value info for DaprLogLevel.static final DaprLogLevelStatic value warn for DaprLogLevel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DaprLogLevelfromString(String name) Creates or finds a DaprLogLevel from its string representation.static Collection<DaprLogLevel> values()Gets known DaprLogLevel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INFO
Static value info for DaprLogLevel. -
DEBUG
Static value debug for DaprLogLevel. -
WARN
Static value warn for DaprLogLevel. -
ERROR
Static value error for DaprLogLevel.
-
-
Constructor Details
-
DaprLogLevel
Deprecated.Use thefromString(String)factory method.Creates a new instance of DaprLogLevel value.
-
-
Method Details
-
fromString
Creates or finds a DaprLogLevel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DaprLogLevel.
-
values
Gets known DaprLogLevel values.- Returns:
- known DaprLogLevel values.
-
fromString(String)factory method.