Serilog - 在详细信息区域显示对象,但不在摘要消息中

Serilog - show object in details area, but not in summary message

下面是来自 Serilog 的 Seq 中所示的示例跟踪。我希望 SensorInput 位于详细信息区域,但不序列化为消息。

如何让 SensorInput 只显示在详情区域?

        var sensorInput = new { Latitude = 25, Longitude = 134 };
        Log.Information("Processing {@Payload}", sensorInput);

Serilog 的 ForContext() 这样做:

    var sensorInput = new { Latitude = 25, Longitude = 134 };
    Log.ForContext("Payload", sensorInput, true).Information("Processing some data");