structured logging: opt-out automatic population of metadata when writing log entries #689
Labels
api: logging
Issues related to the googleapis/java-logging API.
lang: java
Issues specific to Java.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Support the mode of work when logging library does not auto-populate log entries with additional metadata details.
Describe the solution you'd like
All fields except to payload of all log entries passed to the
write()
API call will be auto-populated unless they already have values. A caller should be able to opt-out this behavior by providing aWriteOption.autoPopulateMetadata()
flag or by usingLoggingOptions.Builder.setAutoPopulateMetadata()
to opt-out on the level of theLogging
instance.The text was updated successfully, but these errors were encountered: