Class KeyValueStructuredArgument
- java.lang.Object
-
- io.quarkiverse.loggingjson.providers.KeyValueStructuredArgument
-
- All Implemented Interfaces:
StructuredArgument
public class KeyValueStructuredArgument extends Object implements StructuredArgument
-
-
Constructor Summary
Constructors Constructor Description KeyValueStructuredArgument(String key, Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructuredArgumentkv(String key, Object value)voidwriteTo(JsonGenerator generator)Writes the data associated with this argument to the givenJsonGenerator.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkiverse.loggingjson.providers.StructuredArgument
toString
-
-
-
-
Method Detail
-
kv
public static StructuredArgument kv(String key, Object value)
-
writeTo
public void writeTo(JsonGenerator generator) throws IOException
Description copied from interface:StructuredArgumentWrites the data associated with this argument to the givenJsonGenerator.- Specified by:
writeToin interfaceStructuredArgument- Throws:
IOException
-
-