Logger.LogLevel Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The Logger.LogLevel class is deprecated; see the Logger interface for details.
This class provides settings for log levels, which are set using the Logger.setLogLevel(int) method.
The available log level constants are ERROR, INFO, VERBOSE, and WARNING.
public static classLogger.LogLevel extendsObject
This class is deprecated.
SeeLogger interface for details.
Log level settings. The log level is provided to theLogger through theLogger.setLogLevel(int) method.
Constant Summary
| int | ERROR | |
| int | INFO | |
| int | VERBOSE | |
| int | WARNING |
Public Constructor Summary
LogLevel() |
Inherited Method Summary
Constants
public static final intERROR
Constant Value:3
public static final intINFO
Constant Value:1
public static final intVERBOSE
Constant Value:0
public static final intWARNING
Constant Value:2
Public Constructors
publicLogLevel()
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle 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."],[],["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"]]