Class StackdriverLogEntry
java.lang.Object
io.camunda.zeebe.util.logging.stackdriver.StackdriverLogEntry
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StackdriverLogEntryBuilderbuilder()io.camunda.zeebe.util.logging.stackdriver.ServiceContextio.camunda.zeebe.util.logging.stackdriver.SourceLocationlonglonggetType()voidsetContext(Map<String, Object> context) voidsetException(String exception) voidsetMessage(String message) voidsetService(io.camunda.zeebe.util.logging.stackdriver.ServiceContext service) voidsetSeverity(String severity) voidsetSourceLocation(io.camunda.zeebe.util.logging.stackdriver.SourceLocation sourceLocation) voidsetTimestampNanos(long timestampNanos) voidsetTimestampSeconds(long timestampSeconds) void
-
Field Details
-
ERROR_REPORT_TYPE
- See Also:
-
-
Method Details
-
builder
-
getSeverity
-
setSeverity
-
getSourceLocation
public io.camunda.zeebe.util.logging.stackdriver.SourceLocation getSourceLocation() -
setSourceLocation
public void setSourceLocation(io.camunda.zeebe.util.logging.stackdriver.SourceLocation sourceLocation) -
getMessage
-
setMessage
-
getService
public io.camunda.zeebe.util.logging.stackdriver.ServiceContext getService() -
setService
public void setService(io.camunda.zeebe.util.logging.stackdriver.ServiceContext service) -
getContext
-
setContext
-
getType
-
setType
-
getException
-
setException
-
getTimestampSeconds
public long getTimestampSeconds() -
setTimestampSeconds
public void setTimestampSeconds(long timestampSeconds) -
getTimestampNanos
public long getTimestampNanos() -
setTimestampNanos
public void setTimestampNanos(long timestampNanos)
-