arVahedi edited a comment on pull request #562:
URL: https://github.com/apache/logging-log4j2/pull/562#issuecomment-901630304


   > > 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.
   > 
   > Couldn't you implement these using a custom `TemplateResolver` to define 
additional components?
   
   Maybe, but it is more complex way. I amaze why we have implemented some 
complex approach instead of define just one model class as simplest way we can 
to use. 


-- 
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]


Reply via email to