Class AppLogLine (2.0.0)

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.

Inheritance

java.lang.Object > AppLogLine

Implements

Serializable

Constructors

AppLogLine()

public AppLogLine()

Default zero-argument constructor that creates an AppLogLine.

Methods

equals(@Nullable Object obj)

public boolean equals(@Nullable Object obj)
Parameter
Name Description
obj @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getLogLevel()

public LogService.LogLevel getLogLevel()
Returns
Type Description
LogService.LogLevel

getLogMessage()

public String getLogMessage()
Returns
Type Description
String

getTimeUsec()

public long getTimeUsec()
Returns
Type Description
long

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

setLogLevel(LogService.LogLevel logLevel)

public void setLogLevel(LogService.LogLevel logLevel)
Parameter
Name Description
logLevel LogService.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()

public String toString()
Returns
Type Description
String
Overrides