Created
December 18, 2018 16:23
-
-
Save beall49/ef6e52fa817803e86cf5e0e897e6e35a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment