public List<AuditLoggerName> listAudits() { return LoggerWrapper.wrap(getService(LoggerService.class).list(LoggerType.AUDIT)); }
public List<LoggerTO> listLogs() { List<LoggerTO> logs = getService(LoggerService.class).list(LoggerType.LOG); Collections.sort(logs, (o1, o2) -> ObjectUtils.compare(o1.getKey(), o2.getKey())); return logs; }