Guest User

Untitled

a guest
Dec 18th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. private void logHandler(String template, Object... parameters) {
  2. String text = EMPTY;
  3. try {
  4. text = String.format(template, parameters);
  5. }
  6. catch (Exception e) {
  7. log.error("logHandler ==> ", e);
  8. }
  9. log.info(text);
  10. }
Add Comment
Please, Sign In to add comment