Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

optimise logging using formatting

  • Loading branch information...
commit c9d7a4eece23d4dff1e944cfe956514ae87988ca 1 parent 7f38e23
@ansell authored
View
5 queryall-lib/src/main/java/org/queryall/utils/ProviderUtils.java
@@ -425,14 +425,13 @@ else if(ProviderUtils.DEBUG)
if(ProviderUtils.DEBUG)
{
- ProviderUtils.log.debug("getProvidersForQueryType: Found " + results.size() + " providers for querytype="
- + nextQueryType.stringValue());
+ ProviderUtils.log.debug("Found {} providers for querytype={}", results.size(), nextQueryType.stringValue());
if(ProviderUtils.TRACE)
{
for(final Provider nextResult : results.values())
{
- ProviderUtils.log.trace("getProvidersForQueryType: nextResult=" + nextResult.toString());
+ ProviderUtils.log.trace("nextResult={}", nextResult.toString());
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.