Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

AppLogLine (Google App Engine API for Java)

Stay organized with collections Save and categorize content based on your preferences.
com.google.appengine.api.log

Class AppLogLine

  • java.lang.Object
    • com.google.appengine.api.log.AppLogLine
  • All Implemented Interfaces:
    java.io.Serializable


    public final class AppLogLine
    extends java.lang.Object
    implements java.io.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.
    See Also:
    Serialized Form
    • Constructor Detail

      • AppLogLine

        public AppLogLine()
        Default zero-argument constructor that creates an AppLogLine.
    • Method Detail

      • getLogMessage

        public java.lang.String getLogMessage()
      • getTimeUsec

        public long getTimeUsec()
      • setLogMessage

        public void setLogMessage(java.lang.String logMessage)
      • setTimeUsec

        public void setTimeUsec(long timeUsec)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object