In Serilog I can push multiple properties to log with following code. I am doing this in a middleware to push properties from context. How can I do this using LibLog?
using (LogContext.PushProperties(
new PropertyEnricher(Constants.CorelationId, id),
new PropertyEnricher(Constants.ClientId, context.GetClientId()),
new PropertyEnricher(IdentityServiceConstants.RemoteIpAddress, context.Request.RemoteIpAddress)))
{
await next();
}
Where can I find out more about OpenMappedContext and NestedContext?