Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
ApiProxy.LogRecord.Level (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
-
-
Method Summary
-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
-
Method Detail
-
values
public static ApiProxy.LogRecord.Level[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ApiProxy.LogRecord.Level c : ApiProxy.LogRecord.Level.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
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 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eApiProxy.LogRecord.Level\u003c/code\u003e is an enum within the \u003ccode\u003ecom.google.apphosting.api\u003c/code\u003e package, representing log levels.\u003c/p\u003e\n"],["\u003cp\u003eThis enum implements \u003ccode\u003ejava.io.Serializable\u003c/code\u003e and \u003ccode\u003ejava.lang.Comparable<ApiProxy.LogRecord.Level>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe enum defines five constants for log levels: \u003ccode\u003edebug\u003c/code\u003e, \u003ccode\u003einfo\u003c/code\u003e, \u003ccode\u003ewarn\u003c/code\u003e, \u003ccode\u003eerror\u003c/code\u003e, and \u003ccode\u003efatal\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two static methods, \u003ccode\u003evalues()\u003c/code\u003e which returns an array of all log level constants and \u003ccode\u003evalueOf(String name)\u003c/code\u003e which returns a specific log level constant by name.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is a nested class within \u003ccode\u003eApiProxy.LogRecord\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# ApiProxy.LogRecord.Level (Google App Engine API for Java)\n\ncom.google.apphosting.api\n\nEnum ApiProxy.LogRecord.Level\n-----------------------------\n\n- java.lang.Object\n-\n - java.lang.Enum\\\u003c[ApiProxy.LogRecord.Level](../../../../com/google/apphosting/api/ApiProxy.LogRecord.Level.html \"enum in com.google.apphosting.api\")\\\u003e\n -\n - com.google.apphosting.api.ApiProxy.LogRecord.Level\n\n-\n\n All Implemented Interfaces:\n : java.io.Serializable, java.lang.Comparable\\\u003c[ApiProxy.LogRecord.Level](../../../../com/google/apphosting/api/ApiProxy.LogRecord.Level.html \"enum in com.google.apphosting.api\")\\\u003e\n\n Enclosing class:\n : [ApiProxy.LogRecord](../../../../com/google/apphosting/api/ApiProxy.LogRecord.html \"class in com.google.apphosting.api\")\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n public static enum ApiProxy.LogRecord.Level\n extends java.lang.Enum\u003cApiProxy.LogRecord.Level\u003e\n``` \n-\n -\n\n ### Enum Constant Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Enum\n\n `compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`\n\n \u003c!-- --\u003e\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`getClass, notify, notifyAll, wait, wait, wait` \n-\n -\n\n ### Enum Constant Detail\n\n\n -\n\n #### debug\n\n ```\n public static final ApiProxy.LogRecord.Level debug\n ```\n\n\n -\n\n #### info\n\n ```\n public static final ApiProxy.LogRecord.Level info\n ```\n\n\n -\n\n #### warn\n\n ```\n public static final ApiProxy.LogRecord.Level warn\n ```\n\n\n -\n\n #### error\n\n ```\n public static final ApiProxy.LogRecord.Level error\n ```\n\n\n -\n\n #### fatal\n\n ```\n public static final ApiProxy.LogRecord.Level fatal\n ```\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Detail\n\n\n -\n\n #### values\n\n ```\n public static ApiProxy.LogRecord.Level[] values()\n ``` \n Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: \n\n ```\n for (ApiProxy.LogRecord.Level c : ApiProxy.LogRecord.Level.values())\n System.out.println(c);\n ```\n\n Returns:\n : an array containing the constants of this enum type, in the order they are declared\n\n\n -\n\n #### valueOf\n\n ```\n public static ApiProxy.LogRecord.Level valueOf(java.lang.String name)\n ``` \n Returns the enum constant of this type with the specified name. The string must match *exactly* an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)\n\n Parameters:\n : `name` - the name of the enum constant to be returned.\n\n Returns:\n : the enum constant with the specified name\n\n Throws:\n : `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name\n : `java.lang.NullPointerException` - if the argument is null"]]