【发布时间】:2019-12-01 18:04:00
【问题描述】:
如果我有这个:
logger.Information("this is a message with {property_name}", complexObject);
我怎样才能使它等同于这个:
logger.Information("this is a message with {property_name}", JsonConvert.SerializeObject(complexObject));
【问题讨论】: