Uses of Class
codes.grow.packages.loki.logging.LogRecord.Builder
Packages that use LogRecord.Builder
-
Uses of LogRecord.Builder in codes.grow.packages.loki.logging
Methods in codes.grow.packages.loki.logging that return LogRecord.BuilderModifier and TypeMethodDescriptionAdds one attribute.LogRecord.Builder.attributes(Map<String, ?> attributes) Replaces all attributes.Sets the message.static LogRecord.BuilderLogRecord.builder()Returns a new builder.LogRecord.Builder.observedTimestamp(Instant observedTimestamp) Sets the observed time.Replaces all resource attributes.Sets the severity; the severity text follows unless set explicitly.LogRecord.Builder.severityText(String severityText) Sets a vendor severity text (defaults to the severity name).Sets the span id (16 hex).Sets the event time.LogRecord.toBuilder()Returns a builder initialised with this record's values.LogRecord.Builder.traceFlags(Integer traceFlags) Sets the W3C trace flags (0–255).Sets the trace id (32 hex; upper case is accepted, 16 hex is left-padded).