azure-docs-sdk-java/docs-ref-autogen/com.azure.core.util.logging...

116 строки
7.4 KiB
YAML

### YamlMime:JavaEnum
uid: "com.azure.core.util.logging.LogLevel"
fullName: "com.azure.core.util.logging.LogLevel"
name: "LogLevel"
nameWithType: "LogLevel"
summary: "Enum which represent logging levels used in Azure SDKs."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-\">valueOf</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-\">compareTo</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#describeConstable--\">describeConstable</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--\">getDeclaringClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--\">name</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--\">ordinal</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--\">toString</a>"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public enum **LogLevel**</br> extends <a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html\">Enum</a>&lt;<xref href=\"com.azure.core.util.logging.LogLevel?alt=com.azure.core.util.logging.LogLevel&text=LogLevel\" data-throw-if-not-resolved=\"False\" />&gt;"
fields:
- uid: "com.azure.core.util.logging.LogLevel.ERROR"
fullName: "com.azure.core.util.logging.LogLevel.ERROR"
name: "ERROR"
nameWithType: "LogLevel.ERROR"
summary: "Indicates that log level is at error level."
desc: "Indicates that log level is at error level."
- uid: "com.azure.core.util.logging.LogLevel.INFORMATIONAL"
fullName: "com.azure.core.util.logging.LogLevel.INFORMATIONAL"
name: "INFORMATIONAL"
nameWithType: "LogLevel.INFORMATIONAL"
summary: "Indicates that log level is at information level."
desc: "Indicates that log level is at information level."
- uid: "com.azure.core.util.logging.LogLevel.NOT_SET"
fullName: "com.azure.core.util.logging.LogLevel.NOT_SET"
name: "NOT_SET"
nameWithType: "LogLevel.NOT_SET"
summary: "Indicates that no log level is set."
desc: "Indicates that no log level is set."
- uid: "com.azure.core.util.logging.LogLevel.VERBOSE"
fullName: "com.azure.core.util.logging.LogLevel.VERBOSE"
name: "VERBOSE"
nameWithType: "LogLevel.VERBOSE"
summary: "Indicates that log level is at verbose level."
desc: "Indicates that log level is at verbose level."
- uid: "com.azure.core.util.logging.LogLevel.WARNING"
fullName: "com.azure.core.util.logging.LogLevel.WARNING"
name: "WARNING"
nameWithType: "LogLevel.WARNING"
summary: "Indicates that log level is at warning level."
desc: "Indicates that log level is at warning level."
methods:
- uid: "com.azure.core.util.logging.LogLevel.fromString(java.lang.String)"
fullName: "com.azure.core.util.logging.LogLevel.fromString(String logLevelVal)"
name: "fromString(String logLevelVal)"
nameWithType: "LogLevel.fromString(String logLevelVal)"
summary: "Converts the passed log level string to the corresponding <xref uid=\"com.azure.core.util.logging.LogLevel\" data-throw-if-not-resolved=\"false\" data-raw-source=\"LogLevel\"></xref>."
modifiers:
- "static"
parameters:
- description: "The log level value which needs to convert"
name: "logLevelVal"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static LogLevel fromString(String logLevelVal)"
desc: "Converts the passed log level string to the corresponding <xref uid=\"com.azure.core.util.logging.LogLevel\" data-throw-if-not-resolved=\"false\" data-raw-source=\"LogLevel\"></xref>."
returns:
description: "The LogLevel Enum if pass in the valid string.\n The valid strings for <xref uid=\"com.azure.core.util.logging.LogLevel\" data-throw-if-not-resolved=\"false\" data-raw-source=\"LogLevel\"></xref> are:\n <ul>\n <li>VERBOSE: \"verbose\", \"debug\"</li>\n <li>INFO: \"info\", \"information\", \"informational\"</li>\n <li>WARNING: \"warn\", \"warning\"</li>\n <li>ERROR: \"err\", \"error\"</li>\n </ul>\n Returns NOT_SET if null is passed in."
type: "<xref href=\"com.azure.core.util.logging.LogLevel?alt=com.azure.core.util.logging.LogLevel&text=LogLevel\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.util.logging.LogLevel.getLogLevel()"
fullName: "com.azure.core.util.logging.LogLevel.getLogLevel()"
name: "getLogLevel()"
nameWithType: "LogLevel.getLogLevel()"
summary: "Converts the log level into a numeric representation used for comparisons."
syntax: "public int getLogLevel()"
desc: "Converts the log level into a numeric representation used for comparisons."
returns:
description: "The numeric representation of the log level."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.util.logging.LogLevel.valueOf(java.lang.String)"
fullName: "com.azure.core.util.logging.LogLevel.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "LogLevel.valueOf(String name)"
modifiers:
- "static"
parameters:
- name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static LogLevel valueOf(String name)"
returns:
type: "<xref href=\"com.azure.core.util.logging.LogLevel?alt=com.azure.core.util.logging.LogLevel&text=LogLevel\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.util.logging.LogLevel.values()"
fullName: "com.azure.core.util.logging.LogLevel.values()"
name: "values()"
nameWithType: "LogLevel.values()"
modifiers:
- "static"
syntax: "public static LogLevel[] values()"
returns:
type: "<xref href=\"com.azure.core.util.logging.LogLevel?alt=com.azure.core.util.logging.LogLevel&text=LogLevel\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Enum which represent logging levels used in Azure SDKs."
metadata: {}
package: "com.azure.core.util.logging"
artifact: com.azure:azure-core:1.52.0