Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void logHandler(String template, Object... parameters) {
- String text = EMPTY;
- try {
- text = String.format(template, parameters);
- }
- catch (Exception e) {
- log.error("logHandler ==> ", e);
- }
- log.info(text);
- }
Add Comment
Please, Sign In to add comment