getTags

public Tags getTags()

Returns a set of tags to be added to a log statement. These tags can be used to provide additional contextual metadata to log statements (e.g. request IDs).

Implementations which do not support scoped Tags should not override this method; the default implementation returns Tags.empty().