It is useful to have all the LogSubject's formats in a separate class and static import them when/where needed.
Reviewd changes and Committed patch from <email@example.com>
Small modifications required due to a previous patch.
Modified as per Robbie's comments.
For the property names of the new statics:
EXCHANGE_BINDING_FORMAT, QUEUE_BINDING_FORMAT, and STORE_BINDING_FORMAT should become EXCHANGE_FORMAT, BINDING_FORMAT, and STORE_FORMAT to be more clear.
Patch re-submitted to address Robbie's comments.
Some comments would be helpful to indicate where multiple format strings are used as a group, eg the 3 used for connection message formatting.
In the interests of consistency either the existing statics in the *LogSubject classes should be reused instead of this change, or thost classes probably need to be updated to statically import these definitions.This will help o ensure the code remains properly maintainable.