Class AppLogLine (5.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
public final class AppLogLine implements Serializable
An AppLogLine contains all the information for a single application
log. Specifically, this information is: (1) the time at which the logged
event occurred, (2) the level that the event was logged at, and (3) the
message associated with this event. AppLogLines may be inserted by the user
via logging frameworks, or by App Engine itself if we wish to alert the user
that certain events have occurred.
Constructors
AppLogLine()
Default zero-argument constructor that creates an AppLogLine.
Methods
equals(@Nullable Object obj)
public boolean equals(@Nullable Object obj)
Overrides
getLogLevel()
public LogService.LogLevel getLogLevel()
getLogMessage()
public String getLogMessage()
| Returns |
| Type |
Description |
String |
|
getTimeUsec()
public long getTimeUsec()
| Returns |
| Type |
Description |
long |
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
setLogLevel(LogService.LogLevel logLevel)
public void setLogLevel(LogService.LogLevel logLevel)
setLogMessage(String logMessage)
public void setLogMessage(String logMessage)
| Parameter |
| Name |
Description |
logMessage |
String
|
setTimeUsec(long timeUsec)
public void setTimeUsec(long timeUsec)
| Parameter |
| Name |
Description |
timeUsec |
long
|
toString()
| Returns |
| Type |
Description |
String |
|
Overrides
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 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]