Created
February 21, 2017 05:42
-
-
Save rkhmelyuk/8f9a4ce2eef9b06670c584566355abbc to your computer and use it in GitHub Desktop.
This file contains 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
final AggregatedLogData logData = new AggregatedLogData(); | |
logData.setLevel(AggregatedLogLevel.FULL); | |
try { | |
// .. execute code here | |
} catch (Exception e) { | |
log.error("Failed to process rules", e); | |
} finally { | |
log.info(logData.toJsonString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment