Writes a message to Serilog sinks.
InputStateKey has the level and the message, like this: { "level": "Error", "message": "Test" }
{ "sampleKey": { "level": "yourText", "message": "yourText" } }