ppkarwasz commented on PR #4235: URL: https://github.com/apache/logging-log4j2/pull/4235#issuecomment-5483390696
My approach here would be to validate the values in the constructors of [`StructureDataId`](https://logging.apache.org/log4j/2.x/javadoc/log4j-api/org/apache/logging/log4j/message/StructuredDataId.html), which has the advantage of: - Failing fast during static initialization, so the developer can fix it, - Has no impact on runtime performance. -- 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]
