Writes a piece of the state to Serilog sinks.
InputStateKey has the JSON path of the state entry that should be logged.
{ "sampleKey": "yourText" }