Logger.LogLevel
Stay organized with collections
Save and categorize content based on your preferences.
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Constants
public static final int
ERROR
public static final int
INFO
public static final int
VERBOSE
public static final int
WARNING
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eLogger.LogLevel\u003c/code\u003e is deprecated and developers should refer to the \u003ccode\u003eLogger\u003c/code\u003e interface for details.\u003c/p\u003e\n"],["\u003cp\u003eThis class defines log level settings (ERROR, INFO, VERBOSE, WARNING) which are used with the \u003ccode\u003eLogger\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe log level is set using the \u003ccode\u003esetLogLevel(int)\u003c/code\u003e method of the \u003ccode\u003eLogger\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eDespite being deprecated, \u003ccode\u003eLogger.LogLevel\u003c/code\u003e provides constants representing different log levels.\u003c/p\u003e\n"]]],["The `Logger.LogLevel` class, now deprecated, provides settings for log levels. These levels—ERROR (3), INFO (1), VERBOSE (0), and WARNING (2)—are used with the `Logger` interface. You can set the log level using the `Logger.setLogLevel(int)` method. The class also contains inherited methods from `java.lang.Object`, like `equals()`, `hashCode()`, and `toString()`, and includes a public constructor, `LogLevel()`.\n"],null,["# Logger.LogLevel\n\npublic static class **Logger.LogLevel** extends [Object](//developer.android.com/reference/java/lang/Object.html) \n**This class is deprecated.** \n\nSee [Logger](/android/reference/com/google/android/gms/analytics/Logger) interface\nfor details.\n\nLog level settings. The log level is provided to the [Logger](/android/reference/com/google/android/gms/analytics/Logger) through\nthe [Logger.setLogLevel(int)](/android/reference/com/google/android/gms/analytics/Logger#setLogLevel(int))\nmethod. \n\n### Constant Summary\n\n|-----|----------------------------------------------------------------------------------------|---|\n| int | [ERROR](/android/reference/com/google/android/gms/analytics/Logger.LogLevel#ERROR) | |\n| int | [INFO](/android/reference/com/google/android/gms/analytics/Logger.LogLevel#INFO) | |\n| int | [VERBOSE](/android/reference/com/google/android/gms/analytics/Logger.LogLevel#VERBOSE) | |\n| int | [WARNING](/android/reference/com/google/android/gms/analytics/Logger.LogLevel#WARNING) | |\n\n### Public Constructor Summary\n\n|---|----------------------------------------------------------------------------------------------|\n| | [LogLevel](/android/reference/com/google/android/gms/analytics/Logger.LogLevel#LogLevel())() |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nConstants\n---------\n\n#### public static final int\n**ERROR**\n\nConstant Value: 3 \n\n#### public static final int\n**INFO**\n\nConstant Value: 1 \n\n#### public static final int\n**VERBOSE**\n\nConstant Value: 0 \n\n#### public static final int\n**WARNING**\n\nConstant Value: 2\n\nPublic Constructors\n-------------------\n\n#### public **LogLevel** ()"]]