Fix code samples in metrics-log4j/metrics-log4j2 docs
Fix code samples in metrics-log4j/metrics-log4j2 docs

dropwizard/metrics,mveitas/metrics,Banno/metrics,thelastpickle/metrics,dropwizard/metrics,slachiewicz/metrics,mveitas/metrics,dropwizard/metrics