Uses of Interface
net.logstash.logback.argument.StructuredArgument
Packages that use StructuredArgument
-
Uses of StructuredArgument in net.logstash.logback.argument
Classes in net.logstash.logback.argument that implement StructuredArgumentModifier and TypeClassDescriptionclass
AStructuredArgument
that defers the creation of anotherStructuredArgument
until the first time its value is needed.Methods in net.logstash.logback.argument that return StructuredArgumentModifier and TypeMethodDescriptionstatic StructuredArgument
Abbreviated convenience method for callingStructuredArguments.array(String, Object...)
.static StructuredArgument
Adds a field to the JSON event whose key isfieldName
and whose value is a JSON array of objects AND a string version of the array to the formatted message.static StructuredArgument
StructuredArguments.defer
(Supplier<? extends StructuredArgument> structuredArgumentSupplier) Defer the evaluation of the argument until actually required.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.entries(Map)
.static StructuredArgument
Adds a "key":"value" entry for each Map entry to the JSON event ANDmap.toString()
to the formatted message.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.fields(Object)
.static StructuredArgument
Adds a "key":"value" entry for each field in the given object to the JSON event ANDobject.toString()
to the formatted message.static StructuredArgument
Convenience method for callingStructuredArguments.keyValue(String, Object, String)
using theStructuredArguments.DEFAULT_KEY_VALUE_MESSAGE_FORMAT_PATTERN
.static StructuredArgument
Adds "key":"value" to the JSON event AND name/value to the formatted message using the given messageFormatPattern.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.keyValue(String, Object)
.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.keyValue(String, Object, String)
.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.raw(String, String)
.static StructuredArgument
Adds therawJsonValue
to the JSON event AND therawJsonValue
to the formatted message.static StructuredArgument
Abbreviated convenience method for callingStructuredArguments.value(String, Object)
.static StructuredArgument
Adds "key":"value" to the JSON event AND value to the formatted message (without the key).Method parameters in net.logstash.logback.argument with type arguments of type StructuredArgumentModifier and TypeMethodDescriptionstatic StructuredArgument
StructuredArguments.defer
(Supplier<? extends StructuredArgument> structuredArgumentSupplier) Defer the evaluation of the argument until actually required.Constructor parameters in net.logstash.logback.argument with type arguments of type StructuredArgumentModifierConstructorDescriptionDeferredStructuredArgument
(Supplier<? extends StructuredArgument> structureArgumentSupplier) -
Uses of StructuredArgument in net.logstash.logback.marker
Classes in net.logstash.logback.marker that implement StructuredArgumentModifier and TypeClassDescriptionclass
An empty marker that does nothing itself, but can be used as a base marker when you want to conditionally chain other markers withLogstashMarker.and(Marker)
.class
class
AMarker
ORStructuredArgument
that writes an object under a given fieldName in the log event output.class
AMarker
ORStructuredArgument
that that "unwraps" the given object into the logstash event.class
AMarker
ORStructuredArgument
that writes a raw json value to the logstash json event under a given field name.class
AMarker
ORStructuredArgument
that appends a single field into the JSON event.