public SimpleJobLogger() {
}
@Override
public void logMessage(String message, List<String[]> exceptionStacks, int level) {
JobLogExceptionInfo jobLogExceptionInfo = null;
if (exceptionStacks != null) {
jobLogExceptionInfo = JobUtils.buildJobLogExceptionInfo(exceptionStacks);
}
JobLogLine jobLogLine = new JobLogLine(System.currentTimeMillis(), level, message, jobLogExceptionInfo);