arVahedi edited a comment on pull request #562: URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901385314
> Why don't you simply use `JsonTemplateLayout`? > > > `JsonTemplateLayout` is a great feature, but it is still limited. imagine I need to log some value out of LogEvent context and based on some logic at runtime, for example generate an activityId, digest value or something like that at runtime. the `EnhancedJsonLayout` offers you a full control on what you need to log. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
