Class StackdriverLogEntryBuilder
java.lang.Object
io.camunda.zeebe.util.logging.stackdriver.StackdriverLogEntryBuilder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()withContextEntry(String key, Object value) withDiagnosticContext(org.apache.logging.log4j.util.ReadOnlyStringMap context) withException(String exception) withException(org.apache.logging.log4j.core.impl.ThrowableProxy error) withLevel(org.apache.logging.log4j.Level level) withLogger(String logger) withMessage(String message) withServiceName(String serviceName) withServiceVersion(String serviceVersion) withSource(StackTraceElement traceElement) withThreadId(long threadId) withThreadName(String threadName) withThreadPriority(int threadPriority) withTime(org.apache.logging.log4j.core.time.Instant time)
-
Field Details
-
ERROR_REPORT_LOCATION_CONTEXT_KEY
- See Also:
-
-
Method Details
-
withLevel
-
withSource
-
withTime
-
withMessage
-
withServiceName
-
withServiceVersion
-
withContextEntry
-
withDiagnosticContext
public StackdriverLogEntryBuilder withDiagnosticContext(org.apache.logging.log4j.util.ReadOnlyStringMap context) -
withException
public StackdriverLogEntryBuilder withException(org.apache.logging.log4j.core.impl.ThrowableProxy error) -
withType
-
withException
-
withLogger
-
withThreadName
-
withThreadId
-
withThreadPriority
-
build
-