Skip to content

Commit

Permalink
Change logger level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
garcia-jj committed Apr 7, 2012
1 parent 4a92beb commit 3d8d8b1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ public <T> T instanceFor(Class<T> clazz) {
logger.debug("Default constructor found in {} ", clazz);
return useDefaultConstructor(clazz);
} else {
logger.info(String.format("No default constructor found for %s. Trying to create the proxy with other "
+ "constructors (there are %d).", clazz, constructors.length));
if (logger.isDebugEnabled()) {
logger.debug(String.format("No default constructor found for %s. Trying to create the "
+ "proxy with other constructors (there are %d).", clazz, constructors.length));
}
return tryAllConstructors(clazz, constructors);
}
}
Expand Down

0 comments on commit 3d8d8b1

Please sign in to comment.