String[] splitted = loggerName.split("\\.");
if (splitted == null || splitted.length < 5) {
throw new ParseException("Unparsable logger name", 0);
}
Category category = Category.valueOf(splitted[2]);
Enum<?> subcategory = Enum.valueOf(category.getSubCategory(), splitted[3]);
Result result = Result.valueOf(splitted[4]);
return new AuditLoggerName(category, subcategory, result);
}