Class StackdriverLogEntry

java.lang.Object
io.camunda.zeebe.util.logging.stackdriver.StackdriverLogEntry

public final class StackdriverLogEntry extends Object
POJO allowing the easy construction and serialization of a Stackdriver compatible LogEntry

See here for documentation: https://cloud.google.com/logging/docs/agent/configuration#special-fields https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry

  • Field Details

  • Method Details

    • builder

      public static StackdriverLogEntryBuilder builder()
    • getSeverity

      public String getSeverity()
    • setSeverity

      public void setSeverity(String severity)
    • getSourceLocation

      public io.camunda.zeebe.util.logging.stackdriver.SourceLocation getSourceLocation()
    • setSourceLocation

      public void setSourceLocation(io.camunda.zeebe.util.logging.stackdriver.SourceLocation sourceLocation)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getService

      public io.camunda.zeebe.util.logging.stackdriver.ServiceContext getService()
    • setService

      public void setService(io.camunda.zeebe.util.logging.stackdriver.ServiceContext service)
    • getContext

      public Map<String,Object> getContext()
    • setContext

      public void setContext(Map<String,Object> context)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getException

      public String getException()
    • setException

      public void setException(String exception)
    • getTimestampSeconds

      public long getTimestampSeconds()
    • setTimestampSeconds

      public void setTimestampSeconds(long timestampSeconds)
    • getTimestampNanos

      public long getTimestampNanos()
    • setTimestampNanos

      public void setTimestampNanos(long timestampNanos)