<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>I have an interesting logging requirement in front of me. I am required to log application specific information that is contained within a custom POJO. The developers will create and fill these POJO's with the appropriate information when a logging "event"
takes place. The hope was that it could then be passed off to our logging system and it would know what to do with it. However, the obvious problem is that Logger can't be overridden to allow the overloading of the info, warn, error, etc. methods to receive
the custom POJO. I have considered simply implementing the "Delegation Pattern" implementing the slf4j Logger interface and wrapping the logback Logger which would allow me to simply overload the necessary methods. I was curious what the communities thoughts
might be on this potential solution. Are there other recommendations that might work better for my purposes? Any help, recommendations or guidance would be greatly appreciated.</div>