On May 24, 2014 8:09 AM, "Christian Grobmeier" wrote:
> I didn't know this: {0.enrollmentDate,date,-MM-dd} would call
SimpleDateFormat.
I find it reasonably obvious this is formatting a date.
I also don't see anything confusing about the call itself. I prefer code
to be distilled to its ess
On 24 May 2014, at 0:43, Chris Pratt wrote:
log.debug("Loading Student [{0.number}] {0.name} Enrolled:
{0.enrollmentDate,date,-MM-dd}",student);
This makes logging complicated.
I actually find it a lot less complicated than the equivalent:
if(log.isDebugEnabled()) {
log.debug("Loading S