case 'L':
logField = new NumberedField(LogFieldName.LINE, leftAlign, rightAlign);
break;
case 'm':
logField = new WildcardField(LogFieldName.MESSAGE, leftAlign, rightAlign);
break;
case 'M':
logField = new NamedField(LogFieldName.METHOD, leftAlign, rightAlign, 1);
break;
case 'p':
logField = new LevelField(LogFieldName.LEVEL, leftAlign, rightAlign);
break;
case 'r':
logField = new NumberedField(LogFieldName.MILLISECONDS, leftAlign, rightAlign);
break;
case 't':
logField = new WildcardField(LogFieldName.THREAD, leftAlign, rightAlign);
break;
case 'x':
logField = new WildcardField(LogFieldName.NDC, leftAlign, rightAlign);
break;
case 'X':
logField = new WildcardField(LogFieldName.MDC, leftAlign, rightAlign);
break;
default:
addCharsToRecordRegex(regexChars.toString());
}